Перейти к основному содержимому

Oracle by Zabbix agent 2

Macros used

NameValue
{$ORACLE.ASM.USED.PCT.MAX.HIGH}95
{$ORACLE.ASM.USED.PCT.MAX.WARN}90
{$ORACLE.CONCURRENCY.MAX.WARN}80
{$ORACLE.CONNSTRING}tcp://localhost:1521
{$ORACLE.DB.FILE.MAX.WARN}80
{$ORACLE.DBNAME.MATCHES}.*
{$ORACLE.DBNAME.NOT_MATCHES}PDB$SEED
{$ORACLE.EXPIRE.PASSWORD.MIN.WARN}7
{$ORACLE.PASSWORD}zabbix_password
{$ORACLE.PGA.USE.MAX.WARN}90
{$ORACLE.PROCESSES.MAX.WARN}80
{$ORACLE.REDO.MIN.WARN}3
{$ORACLE.SERVICE}ORA
{$ORACLE.SESSION.LOCK.MAX.TIME}600
{$ORACLE.SESSION.LONG.LOCK.MAX.WARN}3
{$ORACLE.SESSIONS.LOCK.MAX.WARN}20
{$ORACLE.SESSIONS.MAX.WARN}80
{$ORACLE.SHARED.FREE.MIN.WARN}5
{$ORACLE.TABLESPACE.NAME.MATCHES}.*
{$ORACLE.TABLESPACE.NAME.NOT_MATCHES}CHANGE_IF_NEEDED
{$ORACLE.TBS.USED.PCT.MAX.HIGH}95
{$ORACLE.TBS.USED.PCT.MAX.WARN}90
{$ORACLE.TBS.UTIL.PCT.MAX.HIGH}90
{$ORACLE.TBS.UTIL.PCT.MAX.WARN}80
{$ORACLE.USER}zabbix

Items collected

NameDescriptionTypeIntervalKey and additional info
Oracle: Active parallel sessionsThe number of active parallel sessions.DEPENDENT

-

oracle.active_parallel_sessions
Oracle: Active serial sessionsThe number of active serial sessions.DEPENDENT

-

oracle.active_serial_sessions
Oracle: Average active sessionsThe average active sessions at a point in time. It is the number of sessions that are either working or waiting.DEPENDENT

-

oracle.active_sessions
Oracle: Get archive log info

-

-

5moracle.archive.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]
Oracle: Archiver stateAutomatic archiving status.DEPENDENT

-

oracle.archiver_state
Oracle: Buffer cache hit ratioRatio of buffer cache hits. (LogRead - PhyRead)/LogReadDEPENDENT

-

oracle.buffer_cache_hit_ratio
Oracle: Global cache blocks corruptedThe number of blocks that encountered a corruption or checksum failure during interconnect.DEPENDENT

-

oracle.cache_blocks_corrupt
Oracle: Global cache blocks lostThe number of global cache blocks lostDEPENDENT

-

oracle.cache_blocks_lost
Oracle: Get CDB and No-CDB infoGet info about CDB and No-CDB databases on instansce.

-

-

oracle.cdb.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]
Oracle: Cursor cache hit ratioRatio of cursor cache hits. CursorCacheHit/SoftParseDEPENDENT

-

oracle.cursor_cache_hit_ratio
Oracle: Database CPU time ratioCalculated by dividing the total CPU used by the database by the Oracle time model statistic DB time.DEPENDENT

-

oracle.database_cpu_time_ratio
Oracle: Database wait time ratioWait time: the time that the server process spends waiting for available shared resources (to be released by other server processes) such as latches, locks, data buffers, and so onDEPENDENT

-

oracle.database_wait_time_ratio
Oracle: Datafiles countCurrent number of datafile.

-

-

oracle.datafiles.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]
Oracle: Datafiles limitMax allowable number of datafile.DEPENDENT

-

oracle.db_files_limit
Oracle: Get ASM statsGet ASM disk groups stats.

-

-

oracle.diskgroups.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]
Oracle: Disk sort per secondThe number of sorts going to disk per secondDEPENDENT

-

oracle.disk_sorts
Oracle: Enqueue timeouts per secondEnqueue timeouts per second.DEPENDENT

-

oracle.enqueue_timeouts_rate
Oracle: Get FRA statsGet FRA statistics.

-

-

oracle.fra.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]
Oracle: FRA, Number of filesNumber of files in the fast recovery areaDEPENDENT

-

oracle.fra_number_of_files
Oracle: FRA, Number of restore points

-

DEPENDENT

-

oracle.fra_restore_point
Oracle: FRA, Space limitMaximum amount of disk space (in bytes) that the database can use for the fast recovery area.DEPENDENT

-

oracle.fra_space_limit
Oracle: FRA, Space reclaimableTotal amount of disk space (in bytes) that can be created by deleting obsolete, redundant, and other low priority files from the fast recovery area.DEPENDENT

-

oracle.fra_space_reclaimable
Oracle: FRA, Used spaceAmount of disk space (in bytes) used by fast recovery area files created in current and all previous fast recovery areas.DEPENDENT

-

oracle.fra_space_used
Oracle: FRA, Usable space in %

-

DEPENDENT

-

oracle.fra_usable_pct
Oracle: GC CR block received per secondGC CR block received per second.DEPENDENT

-

oracle.gc_cr_block_received_rate
Oracle: Get instance stateThe item gets state of the current instance.

-

-

oracle.instance.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]
Oracle: Instance roleIndicates whether the instance is an active instance or an inactive secondary instance.DEPENDENT

-

oracle.instance.role
Oracle: Instance hostnameName of the host machine.DEPENDENT

-

oracle.instance_hostname
Oracle: Instance nameName of the instance.DEPENDENT

-

oracle.instance_name
Oracle: Instance statusStatus of the instance.DEPENDENT

-

oracle.instance_status
Oracle: Library cache hit ratioRatio of library cache hits. Hits/PinsDEPENDENT

-

oracle.library_cache_hit_ratio
Oracle: Logons per secondThe number of logon attempts.DEPENDENT

-

oracle.logons_rate
Oracle: Long table scans per secondThe number of long table scans per second. A table is considered 'long' if the table is not cached and if its high-water mark is greater than 5 blocks.DEPENDENT

-

oracle.long_table_scans_rate
Oracle: Memory sorts ratioThe percentage of sorts (from ORDER BY clauses or index building) that are done to disk vs in-memory.DEPENDENT

-

oracle.memory_sorts_ratio
Oracle: Get PDB infoGet info about PDB databases on instansce.

-

-

oracle.pdb.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]
Oracle: Get PGA statsGet PGA statistics.

-

-

oracle.pga.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]
Oracle: PGA, Global memory boundMaximum size of a work area executed in automatic mode.DEPENDENT

-

oracle.pga_global_bound
Oracle: PGA, Aggregate target parameterCurrent value of the PGA_AGGREGATE_TARGET initialization parameter. If this parameter is not set, then its value is 0 and automatic management of PGA memory is disabled.DEPENDENT

-

oracle.pga_target
Oracle: Physical reads per secondReads per second.DEPENDENT

-

oracle.physical_reads_rate
Oracle: Physical reads bytes per secondRead bytes per second.DEPENDENT

-

oracle.physical_read_bytes_rate
Oracle: Physical writes per secondWrites per second.DEPENDENT

-

oracle.physical_writes_rate
Oracle: Physical writes bytes per secondWrite bytes per second.DEPENDENT

-

oracle.physical_write_bytes_rate
Oracle: PingTest the connection to Oracle Database state

-

30soracle.ping["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]
Oracle: Number of processes

-

-

-

oracle.proc.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]
Oracle: Processes limitMax user processes.DEPENDENT

-

oracle.processes_limit
Oracle: Redo logs available to switchNumber of available for log switching inactive/unused REDO logs.

-

-

oracle.redolog.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]
Oracle: Rows per sortThe average number of rows per sort for all types of sorts performed.DEPENDENT

-

oracle.rows_per_sort
Oracle: SQL service response timeSQL service response time in seconds.DEPENDENT

-

oracle.service_response_time
Oracle: Get sessions statsGet sessions statistics. {$ORACLE.SESSION.LOCK.MAX.TIME} -- maximum seconds in the current wait condition for counting long time locked sessions. Default: 600 seconds.

-

-

oracle.sessions.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}","{$ORACLE.SESSION.LOCK.MAX.TIME}"]
Oracle: Active background sessionsThe number of active background sessions.DEPENDENT

-

oracle.session_active_background
Oracle: Active user sessionsThe number of active user sessions.DEPENDENT

-

oracle.session_active_user
Oracle: Sessions concurrencyThe percentage of concurrency. Concurrency is a DB behavior when different transactions request to change the same resource - in case of modifying data transactions sequentially block temporarily the right to change data, the rest of the transactions are waiting for access. In the case when access for resource is locked for a long time, then the concurrency grows (like the transaction queue) and this often has an extremely negative impact on performance. A high contention value does not indicate the root cause of the problem, but is a signal to search for it.DEPENDENT

-

oracle.session_concurrency_rate
Oracle: Session countSession count.DEPENDENT

-

oracle.session_count
Oracle: Inactive user sessionsThe number of inactive user sessions.DEPENDENT

-

oracle.session_inactive_user
Oracle: Sessions limitUser and system sessions.DEPENDENT

-

oracle.session_limit
Oracle: Sessions lock rateThe percentage of locked sessions. Locks are mechanisms that prevent destructive interaction between transactions accessing the same resource—either user objects such as tables and rows or system objects not visible to users, such as shared data structures in memory and data dictionary rows.DEPENDENT

-

oracle.session_lock_rate
Oracle: Sessions locked over {$ORACLE.SESSION.LOCK.MAX.TIME}sCount of the prolongedly locked sessions. (You can change maximum session lock duration in seconds for query by {$ORACLE.SESSION.LOCK.MAX.TIME} macro. Default 600 sec)DEPENDENT

-

oracle.session_long_time_locked
Oracle: Get SGA statsGet SGA statistics.

-

-

oracle.sga.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]
Oracle: SGA, buffer cacheThe size of the cache of standard blocks.DEPENDENT

-

oracle.sga_buffer_cache
Oracle: SGA, fixedThe fixed SGA is an internal housekeeping area.DEPENDENT

-

oracle.sga_fixed
Oracle: SGA, java poolMemory is allocated from the java pool.DEPENDENT

-

oracle.sga_java_pool
Oracle: SGA, large poolMemory is allocated from the large pool.DEPENDENT

-

oracle.sga_large_pool
Oracle: SGA, log bufferThe number of bytes allocated for the redo log buffer.DEPENDENT

-

oracle.sga_log_buffer
Oracle: SGA, shared poolMemory is allocated from the shared pool.DEPENDENT

-

oracle.sga_shared_pool
Oracle: Shared pool free %Shared pool free memory percent. Free/TotalDEPENDENT

-

oracle.shared_pool_free
Oracle: Total sorts per user callTotal sorts per user call.DEPENDENT

-

oracle.sorts_per_user_call
Oracle: Get system metricsThe item gets system metric values.

-

0;m0-59oracle.sys.metrics["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]
Oracle: Get system parametersGet a set of system parameter values.

-

-

oracle.sys.params["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]
Oracle: Temp space usedTemp space used.DEPENDENT

-

oracle.temp_space_used
Oracle: PGA, Total allocatedCurrent amount of PGA memory allocated by the instance. The Oracle Database attempts to keep this number below the value of the PGA_AGGREGATE_TARGET initialization parameter. However, it is possible for the PGA allocated to exceed that value by a small percentage and for a short period of time when the work area workload is increasing very rapidly or when PGA_AGGREGATE_TARGET is set to a small value.DEPENDENT

-

oracle.total_pga_allocated
Oracle: PGA, Total freeableNumber of bytes of PGA memory in all processes that could be freed back to the operating system.DEPENDENT

-

oracle.total_pga_freeable
Oracle: PGA, Total inuseIndicates how much PGA memory is currently consumed by work areas. This number can be used to determine how much memory is consumed by other consumers of the PGA memory (for example, PL/SQL or Java).DEPENDENT

-

oracle.total_pga_used
Oracle: Get tablespaces statsGet tablespaces stats.

-

-

oracle.ts.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]
Oracle: UptimeOracle instance uptime in seconds.DEPENDENT

-

oracle.uptime
Oracle: User's expire passwordThe number of days before zabbix account password expired.

-

-

oracle.user.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]
Oracle: User rollbacks per secondThe number of times that users manually issue the ROLLBACK statement or an error occurred during a user's transactions.DEPENDENT

-

oracle.user_rollbacks_rate
Oracle: VersionOracle Server version.DEPENDENT

-

oracle.version

Triggers

NameDescriptionExpressionPriorityDependencies
Oracle: Instance hostname has changedOracle DB Instance hostname has changed. Ack to close.last(/Oracle by Zabbix agent 2/oracle.instance_hostname,#1)<>last(/Oracle by Zabbix agent 2/oracle.instance_hostname,#2) and length(last(/Oracle by Zabbix agent 2/oracle.instance_hostname))>0INFO 🔔Oracle: Instance hostname
Oracle: Instance name has changedOracle DB Instance name has changed. Ack to close.last(/Oracle by Zabbix agent 2/oracle.instance_name,#1)<>last(/Oracle by Zabbix agent 2/oracle.instance_name,#2) and length(last(/Oracle by Zabbix agent 2/oracle.instance_name))>0INFO 🔔Oracle: Instance name
Oracle: Connection to database is unavailableConnection to Oracle Database is currently unavailable.last(/Oracle by Zabbix agent 2/oracle.ping["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"])=0DISASTER 🔥Oracle: Ping
Oracle: Number of REDO logs available for switching is too lowNumber of available for log switching inactive/unused REDOs is low (Database down risk)max(/Oracle by Zabbix agent 2/oracle.redolog.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"],5m) < {$ORACLE.REDO.MIN.WARN}WARNING 📢Oracle: Redo logs available to switch
Oracle: Too high database concurrencyConcurrency rate is over {$ORACLE.CONCURRENCY.MAX.WARN}%. A high contention value does not indicate the root cause of the problem, but is a signal to search for it. In the case of high competition, an analysis of resource consumption should be carried out, the most "heavy" queries made in the database, possibly - session tracing. All this will help determine the root cause and possible optimization points both in the database configuration and in the logic of building queries of the application itself.min(/Oracle by Zabbix agent 2/oracle.session_concurrency_rate,5m) > {$ORACLE.CONCURRENCY.MAX.WARN}WARNING 📢Oracle: Sessions concurrency
Oracle: Too many locked sessionsNumber of locked sessions is over {$ORACLE.SESSIONS.LOCK.MAX.WARN}% of the running sessions.min(/Oracle by Zabbix agent 2/oracle.session_lock_rate,5m) > {$ORACLE.SESSIONS.LOCK.MAX.WARN}WARNING 📢Oracle: Sessions lock rate
Oracle: Too many sessions lockedNumber of sessions locked over {$ORACLE.SESSION.LOCK.MAX.TIME} seconds is too high. Long-term locks can negatively affect database performance, therefore, if they are detected, you should first find the most difficult queries from the database point of view and analyze possible resource leaks.min(/Oracle by Zabbix agent 2/oracle.session_long_time_locked,5m) > {$ORACLE.SESSION.LONG.LOCK.MAX.WARN}WARNING 📢Oracle: Sessions locked over {$ORACLE.SESSION.LOCK.MAX.TIME}s
Oracle: Shared pool free is too lowThe shared pool free memory percent has been less than {$ORACLE.SHARED.FREE.MIN.WARN}% in the last 5 minutes.max(/Oracle by Zabbix agent 2/oracle.shared_pool_free,5m)<{$ORACLE.SHARED.FREE.MIN.WARN}WARNING 📢Oracle: Shared pool free %
Oracle: Failed to fetch info dataZabbix has not received data for items for the last 5 minutes. The database might be unavailable for connecting.nodata(/Oracle by Zabbix agent 2/oracle.uptime,30m)=1INFO 🔔Oracle: Uptime
Oracle: has been restartedUptime is less than 10 minutes.last(/Oracle by Zabbix agent 2/oracle.uptime)<10mINFO 🔔Oracle: Uptime
Oracle: Zabbix account will expire soonPassword for zabbix user in the database will expire soon.last(/Oracle by Zabbix agent 2/oracle.user.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]) < {$ORACLE.EXPIRE.PASSWORD.MIN.WARN}WARNING 📢Oracle: User's expire password
Oracle: Version has changedOracle DB version has changed. Ack to close.last(/Oracle by Zabbix agent 2/oracle.version,#1)<>last(/Oracle by Zabbix agent 2/oracle.version,#2) and length(last(/Oracle by Zabbix agent 2/oracle.version))>0INFO 🔔Oracle: Version

Discovery rule №1

NameDescriptionTypeIntervalKey and additional info
Archive log discoveryLog archive destinations.

-

1horacle.archive.discovery["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]

Item prototypes

NameDescriptionTypeIntervalKey and additional info
Archivelog '{#DEST_NAME}': ErrorDisplays the error textDEPENDENT

-

oracle.archivelog_error["{#DEST_NAME}"]
Archivelog '{#DEST_NAME}': Last sequenceIdentifies the sequence number of the last archived redo log to be archivedDEPENDENT

-

oracle.archivelog_log_sequence["{#DEST_NAME}"]
Archivelog '{#DEST_NAME}': StatusIdentifies the current status of the destination: 1 - 'Valid', 2 - 'Deferred',3 - 'Error', 0 - 'Unknown'DEPENDENT

-

oracle.archivelog_log_status["{#DEST_NAME}"]

Trigger prototypes

NameDescriptionExpressionPriorityDependencies
Archivelog '{#DEST_NAME}': Log Archive is not validARL destination not in 3 - Valid or 2 - Deferred.last(/Oracle by Zabbix agent 2/oracle.archivelog_log_status["{#DEST_NAME}"])<2HIGH ⛔Archivelog '{#DEST_NAME}': Status

Discovery rule №2

NameDescriptionTypeIntervalKey and additional info
Database discoveryScanning databases in DBMS.

-

1horacle.db.discovery["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]

Item prototypes

NameDescriptionTypeIntervalKey and additional info
Oracle Database '{#DBNAME}': Force loggingIndicates whether the database is under force logging mode (YES) or not (NO)DEPENDENT

-

oracle.db_force_logging["{#DBNAME}"]
Oracle Database '{#DBNAME}': Log modeArchive log mode, 0 - 'NOARCHIVELOG', 1 - 'ARCHIVELOG', 2 - 'MANUAL'DEPENDENT

-

oracle.db_log_mode["{#DBNAME}"]
Oracle Database '{#DBNAME}': Open status1 - 'MOUNTED', 2 - 'READ WRITE', 3 - 'READ ONLY', 4 - 'READ ONLY WITH APPLY' (A physical standby database is open in real-time query mode)DEPENDENT

-

oracle.db_open_mode["{#DBNAME}"]
Oracle Database '{#DBNAME}': RoleCurrent role of the database, 1 - 'SNAPSHOT STANDBY', 2 - 'LOGICAL STANDBY', 3 - 'PHYSICAL STANDBY', 4 - 'PRIMARY ', 5 -'FAR SYNC'DEPENDENT

-

oracle.db_role["{#DBNAME}"]

Trigger prototypes

NameDescriptionExpressionPriorityDependencies
Oracle Database '{#DBNAME}': Open status has changedOracle DB open status has changed. Ack to close.last(/Oracle by Zabbix agent 2/oracle.db_open_mode["{#DBNAME}"],#1)<>last(/Oracle by Zabbix agent 2/oracle.db_open_mode["{#DBNAME}"],#2)INFO 🔔Oracle Database '{#DBNAME}': Open status
Oracle Database '{#DBNAME}': Open status in mount modeThe Oracle DB has a MOUNTED state.last(/Oracle by Zabbix agent 2/oracle.db_open_mode["{#DBNAME}"])=1WARNING 📢Oracle Database '{#DBNAME}': Open status
Oracle Database '{#DBNAME}': Role has changedOracle DB role has changed. Ack to close.last(/Oracle by Zabbix agent 2/oracle.db_role["{#DBNAME}"],#1)<>last(/Oracle by Zabbix agent 2/oracle.db_role["{#DBNAME}"],#2)INFO 🔔Oracle Database '{#DBNAME}': Role

Discovery rule №3

NameDescriptionTypeIntervalKey and additional info
ASM disk groups discoveryASM disk groups

-

1horacle.diskgroups.discovery["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]

Item prototypes

NameDescriptionTypeIntervalKey and additional info
ASM '{#DG_NAME}': Free sizeFree size of ASM disk group.DEPENDENT

-

oracle.asm_free_size["{#DG_NAME}"]
ASM '{#DG_NAME}': Total sizeTotal size of ASM disk group.DEPENDENT

-

oracle.asm_total_size["{#DG_NAME}"]
ASM '{#DG_NAME}': Free sizeUsage percent of ASM disk group.DEPENDENT

-

oracle.asm_used_pct["{#DG_NAME}"]

Trigger prototypes

NameDescriptionExpressionPriorityDependencies
ASM '{#DG_NAME}': Disk group usage is too highUsage percent of ASM disk group is over {$ORACLE.ASM.USED.PCT.MAX.WARN}min(/Oracle by Zabbix agent 2/oracle.asm_used_pct["{#DG_NAME}"],5m)>{$ORACLE.ASM.USED.PCT.MAX.HIGH}HIGH ⛔ASM '{#DG_NAME}': Free size
ASM '{#DG_NAME}': Disk group usage is too highUsage percent of ASM disk group is over {$ORACLE.ASM.USED.PCT.MAX.WARN}min(/Oracle by Zabbix agent 2/oracle.asm_used_pct["{#DG_NAME}"],5m)>{$ORACLE.ASM.USED.PCT.MAX.WARN}WARNING 📢ASM '{#DG_NAME}': Free size

Discovery rule №4

NameDescriptionTypeIntervalKey and additional info
PDB discoveryScanning PDB in DBMS.

-

1horacle.pdb.discovery["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]

Item prototypes

NameDescriptionTypeIntervalKey and additional info
Oracle Database '{#DBNAME}': Open status1 - 'MOUNTED', 2 - 'READ WRITE', 3 - 'READ ONLY', 4 - 'READ ONLY WITH APPLY' (A physical standby database is open in real-time query mode)DEPENDENT

-

oracle.pdb_open_mode["{#DBNAME}"]

Trigger prototypes

NameDescriptionExpressionPriorityDependencies
Oracle Database '{#DBNAME}': Open status has changedOracle DB open status has changed. Ack to close.last(/Oracle by Zabbix agent 2/oracle.pdb_open_mode["{#DBNAME}"],#1)<>last(/Oracle by Zabbix agent 2/oracle.pdb_open_mode["{#DBNAME}"],#2)INFO 🔔Oracle Database '{#DBNAME}': Open status
Oracle Database '{#DBNAME}': Open status in mount modeThe Oracle DB has a MOUNTED state.last(/Oracle by Zabbix agent 2/oracle.pdb_open_mode["{#DBNAME}"])=1WARNING 📢Oracle Database '{#DBNAME}': Open status

Discovery rule №5

NameDescriptionTypeIntervalKey and additional info
Tablespace discoveryScanning tablespaces in DBMS.

-

1horacle.ts.discovery["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]

Item prototypes

NameDescriptionTypeIntervalKey and additional info
Oracle TBS '{#TABLESPACE}': Tablespace allocated, bytesCurrently allocated bytes for tablespace (sum of the current size of datafiles).DEPENDENT

-

oracle.tbs_alloc_bytes["{#TABLESPACE}"]
Oracle TBS '{#TABLESPACE}': Tablespace free, bytesFree bytes of allocated space.DEPENDENT

-

oracle.tbs_free_bytes["{#TABLESPACE}"]
Oracle TBS '{#TABLESPACE}': Tablespace MAX size, bytesMaximum size of tablespace.DEPENDENT

-

oracle.tbs_max_bytes["{#TABLESPACE}"]
Oracle TBS '{#TABLESPACE}': Open statusTablespace status. 1 - 'ONLINE' 2 - 'OFFLINE' 3- 'READ ONLY'DEPENDENT

-

oracle.tbs_status["{#TABLESPACE}"]
Oracle TBS '{#TABLESPACE}': Tablespace used, bytesCurrently used bytes for tablespace (current size of datafiles-free space).DEPENDENT

-

oracle.tbs_used_bytes["{#TABLESPACE}"]
Oracle TBS '{#TABLESPACE}': Tablespace usage, percentUsed bytes/Allocated bytes*100DEPENDENT

-

oracle.tbs_used_file_pct["{#TABLESPACE}"]
Oracle TBS '{#TABLESPACE}': Tablespace allocated, percentAllocated bytes/Max bytes*100DEPENDENT

-

oracle.tbs_used_pct["{#TABLESPACE}"]

Trigger prototypes

NameDescriptionExpressionPriorityDependencies
Oracle TBS '{#TABLESPACE}': Tablespace is OFFLINEThe tablespace is in the offline state.last(/Oracle by Zabbix agent 2/oracle.tbs_status["{#TABLESPACE}"])=2WARNING 📢Oracle TBS '{#TABLESPACE}': Open status
Oracle TBS '{#TABLESPACE}': Tablespace status has changedOracle tablespace status has changed. Ack to close.last(/Oracle by Zabbix agent 2/oracle.tbs_status["{#TABLESPACE}"],#1)<>last(/Oracle by Zabbix agent 2/oracle.tbs_status["{#TABLESPACE}"],#2)INFO 🔔Oracle TBS '{#TABLESPACE}': Open status
Oracle TBS '{#TABLESPACE}': Tablespace usage is too high

-

min(/Oracle by Zabbix agent 2/oracle.tbs_used_file_pct["{#TABLESPACE}"],5m)>{$ORACLE.TBS.USED.PCT.MAX.HIGH}HIGH ⛔Oracle TBS '{#TABLESPACE}': Tablespace usage, percent
Oracle TBS '{#TABLESPACE}': Tablespace usage is too high

-

min(/Oracle by Zabbix agent 2/oracle.tbs_used_file_pct["{#TABLESPACE}"],5m)>{$ORACLE.TBS.USED.PCT.MAX.WARN}WARNING 📢Oracle TBS '{#TABLESPACE}': Tablespace usage, percent
Oracle TBS '{#TABLESPACE}': Tablespace utilization is too high

-

min(/Oracle by Zabbix agent 2/oracle.tbs_used_pct["{#TABLESPACE}"],5m)>{$ORACLE.TBS.USED.PCT.MAX.WARN}WARNING 📢Oracle TBS '{#TABLESPACE}': Tablespace allocated, percent
Oracle TBS '{#TABLESPACE}': Tablespace utilization is too high

-

min(/Oracle by Zabbix agent 2/oracle.tbs_used_pct["{#TABLESPACE}"],5m)>{$ORACLE.TBS.UTIL.PCT.MAX.HIGH}HIGH ⛔Oracle TBS '{#TABLESPACE}': Tablespace allocated, percent