Skip to main content
Version: v1.7.x

Monitoring:ORACLE database monitoring

Collect and monitor the general performance Metrics of ORACLE database.

Attention, Need Add ORACLE jdbc driver jar

  • Download the ORACLE jdbc driver jar package, such as ojdbc8.jar oracle-i18n
  • Copy the jar package to the hertzbeat/ext-lib directory.
  • Restart the HertzBeat service.

Configuration parameter

Parameter nameParameter help description
Monitoring HostMonitored IPV4, IPV6 or domain name. Note⚠️Without protocol header (eg: https://, http://)
Monitoring nameIdentify the name of this monitoring. The name needs to be unique
PortPort provided by the database. The default is 1521
Query timeoutSet the timeout time when SQL query does not respond to data, unit: ms, default: 3000ms
Database nameDatabase instance name, optionalIf you need to use a dba user, you can fill in like "sys as sysdba".
UsernameDatabase connection user name, optional
PasswordDatabase connection password, optional
URLDatabase connection URL,optional,If configured, the database name, user name, password and other parameters in the URL will overwrite the above configured parameters
Collection intervalInterval time of monitor periodic data collection, unit: second, and the minimum interval that can be set is 30 seconds
Whether to detectWhether to detect and check the availability of monitoring before adding monitoring. Adding and modifying operations will continue only after the detection is successful
Description remarksFor more information about identifying and describing this monitoring, users can note information here

Collection Metric

Metric set:basic

Metric nameMetric unitMetric help description
database_versionnoneDatabase version
hostnamenoneHost name
instance_namenoneDatabase instance name
startup_timenoneDatabase start time
statusnoneDatabase status

Metric set:tablespace

Metric nameMetric unitMetric help description
file_idnoneFile ID
file_namenoneFile name
tablespace_namenoneTable space name
statusnoneStatus
bytesMBSize
blocksnoneNumber of blocks

Metric set:total_sessions

Metric nameMetric unitMetric help description
countsnumberCurrent connection counts

Metric set:active_sessions

Metric nameMetric unitMetric help description
countsnumberActive sessions counts

Metric set:background_sessions

Metric nameMetric unitMetric help description
countsnumberBackground sessions counts

Metric set:connection

Metric nameMetric unitMetric help description
usernamenoneUser name
countsnumberUser sessions counts

Metric set:performance

Metric nameMetric unitMetric help description
qpsQPSI/O Requests per second
tpsTPSUser transaction per second
mbpsMBPSI/O Megabytes per second

Metric set:percentage

Metric nameMetric unitMetric help description
tablespace_namenoneTablespace name
totalnoneTotal
usednoneUsed
freenoneFree
used_percentagepercentage(%)Used Percentage
free_percentagepercentage(%)Free Percentage

Metric set:process

Metric nameMetric unitMetric help description
process_countnoneProcess count

Metric set:transaction

Metric nameMetric unitMetric help description
commitst/sUser Commits Per Sec
rollbackst/sUser Rollbacks Per Sec

Metric set:wait

Metric nameMetric unitMetric help description
concurrent_wait_timemsConcurrent Wait Time
commit_wait_timemsCommit Wait Time
app_wait_timemsApplication Wait Time
network_wait_timemsNetwork Wait Time
system_io_wait_timemsSystem I/O Wait Time
user_io_wait_timemsUser I/O Wait Time
configure_wait_timemsConfigure Wait Time
scheduler_wait_timemsScheduler Wait Time

Metric set:cpu_stats

Metric nameMetric unitMetric help description
typenoneType
numnoneNum

Metric set:mem_stats

Metric nameMetric unitMetric help description
typenoneType
numnoneNum

Metric set:cache_hit_ratio

Metric nameMetric unitMetric help description
lib_cache_hit_rationoneLibrary Cache Hit Ratio
buffer_cache_hit_rationoneBuffer Cache Hit Ratio

Metric set:slow_query

Metric nameMetric unitMetric help description
sql_idnoneSQL ID
child_numbernoneChild Number
executionsnoneEXECUTIONS
per_secssecondsPer Secs
cpu_secssecondsCPU Secs
buffer_getsnoneBuffer Gets
disk_readsnoneDisk Reads
fetchesnoneFetches
parse_callsnoneParse Calls
optimizer_costnoneOptimizer Cost
sql_textnoneSQL Text

Metric set:users

Metric nameMetric unitMetric help description
usernamenoneUser Name
account_statusnoneAccount Status
lock_datenoneIf the account status is LOCKED, the date and time when the account was locked will be displayed.
expiry_datenonePassword Expiry Date
expiry_secondssecondsPassword Validity Period Remaining
creatednoneCreation Date
authentication_typenoneAuthentication Type