Source: https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/db/oracle_agent2?at=release/7.0
Oracle by Zabbix agent 2
Overview
The template is developed to monitor a single DBMS Oracle Database instance with Zabbix agent 2.
Supported versions
Oracle Database 12c2 and newer.
Requirements
Zabbix version: 7.0 and higher.
Tested versions
This template has been tested on:
- Oracle Database 12c2, 18c, 19c, 21c, 23c
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
-
Setup and configure Zabbix agent 2 compiled with the Oracle monitoring plugin. See the setup instructions for Oracle Database plugin.
-
Set the {$ORACLE.CONNSTRING} macro value using either <protocol(host:port)> or named session.
-
If you want to override parameters from Zabbix agent configuration file, set the user name, password and service name in host macros ({$ORACLE.USER}, {$ORACLE.PASSWORD}, and {$ORACLE.SERVICE}).
User can contain sysdba, sysoper, sysasm privileges. It must be used with
as
as a separator e.guser as sysdba
, privilege can be upper or lowercase, and must be at the end of username string.
Test availability:
zabbix_get -s oracle-host -k oracle.ping["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]
Macros used
Name | Description | Default |
---|---|---|
{$ORACLE.USER} | Oracle username. |
zabbix |
{$ORACLE.PASSWORD} | Oracle user's password. |
zabbix_password |
{$ORACLE.CONNSTRING} | Oracle URI or a session name. |
tcp://localhost:1521 |
{$ORACLE.SERVICE} | Oracle Service Name. |
ORA |
{$ORACLE.DBNAME.MATCHES} | Used in database discovery. It can be overridden on the host or linked template level. |
.* |
{$ORACLE.DBNAME.NOT_MATCHES} | Used in database discovery. It can be overridden on the host or linked template level. |
PDB\$SEED |
{$ORACLE.TABLESPACE.CONTAINER.MATCHES} | Used in tablespace discovery. It can be overridden on the host or linked template level. |
.* |
{$ORACLE.TABLESPACE.CONTAINER.NOT_MATCHES} | Used in tablespace discovery. It can be overridden on the host or linked template level. |
CHANGE_IF_NEEDED |
{$ORACLE.TABLESPACE.NAME.MATCHES} | Used in tablespace discovery. It can be overridden on the host or linked template level. |
.* |
{$ORACLE.TABLESPACE.NAME.NOT_MATCHES} | Used in tablespace discovery. It can be overridden on the host or linked template level. |
CHANGE_IF_NEEDED |
{$ORACLE.TBS.USED.PCT.FROM.MAX.WARN} | Warning severity alert threshold for the maximum percentage of tablespace usage from maximum tablespace size (used bytes/max bytes) for the Warning trigger expression. |
90 |
{$ORACLE.TBS.USED.PCT.FROM.MAX.HIGH} | High severity alert threshold for the maximum percentage of tablespace usage (used bytes/max bytes) for the High trigger expression. |
95 |
{$ORACLE.TBS.USED.PCT.MAX.WARN} | Warning severity alert threshold for the maximum percentage of tablespace usage (used bytes/allocated bytes) for the Warning trigger expression. |
90 |
{$ORACLE.TBS.USED.PCT.MAX.HIGH} | High severity alert threshold for the maximum percentage of tablespace usage (used bytes/allocated bytes) for the High trigger expression. |
95 |
{$ORACLE.TBS.UTIL.PCT.MAX.WARN} | Warning severity alert threshold for the maximum percentage of tablespace utilization (allocated bytes/max bytes) for the High trigger expression. |
80 |
{$ORACLE.TBS.UTIL.PCT.MAX.HIGH} | High severity alert threshold for the maximum percentage of tablespace utilization (allocated bytes/max bytes) for the High trigger expression. |
90 |
{$ORACLE.PROCESSES.MAX.WARN} | Alert threshold for the maximum percentage of active processes for the Warning trigger expression. |
80 |
{$ORACLE.SESSIONS.MAX.WARN} | Alert threshold for the maximum percentage of active sessions for the Warning trigger expression. |
80 |
{$ORACLE.DB.FILE.MAX.WARN} | The maximum percentage of used database files for the Warning trigger expression. |
80 |
{$ORACLE.PGA.USE.MAX.WARN} | Alert threshold for the maximum percentage of the Program Global Area (PGA) usage for the Warning trigger expression. |
90 |
{$ORACLE.SESSIONS.LOCK.MAX.WARN} | Alert threshold for the maximum percentage of locked sessions for the Warning trigger expression. |
20 |
{$ORACLE.SESSION.LOCK.MAX.TIME} | The maximum duration of the session lock in seconds to count the session as a prolongedly locked query. |
600 |
{$ORACLE.SESSION.LONG.LOCK.MAX.WARN} | Alert threshold for the maximum number of the prolongedly locked sessions for the Warning trigger expression. |
3 |
{$ORACLE.CONCURRENCY.MAX.WARN} | The maximum percentage of session concurrency for the Warning trigger expression. |
80 |
{$ORACLE.REDO.MIN.WARN} | Alert threshold for the minimum number of redo logs for the Warning trigger expression. |
3 |
{$ORACLE.SHARED.FREE.MIN.WARN} | Alert threshold for the minimum percentage of free shared pool for the Warning trigger expression. |
5 |
{$ORACLE.EXPIRE.PASSWORD.MIN.WARN} | The number of days before the password expires for the Warning trigger expression. |
7 |
{$ORACLE.ASM.USED.PCT.MAX.WARN} | The maximum percentage of used space in the Automatic Storage Management (ASM) disk group for the Warning trigger expression. |
90 |
{$ORACLE.ASM.USED.PCT.MAX.HIGH} | The maximum percentage of used space in the Automatic Storage Management (ASM) disk group for the High trigger expression. |
95 |
Items
Name | Description | Type | Key and additional info |
---|---|---|---|
Ping | Test the connection to Oracle Database state. |
Zabbix agent | oracle.ping["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"] Preprocessing
|
Get instance state | Gets the state of the current instance. |
Zabbix agent | oracle.instance.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"] |
Version | The Oracle Server version. |
Zabbix agent | oracle.version["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"] Preprocessing
|
Uptime | The Oracle instance uptime expressed in seconds. |
Dependent item | oracle.uptime Preprocessing
|
Instance status | The status of the instance. |
Dependent item | oracle.instance_status Preprocessing
|
Archiver state | The status of automatic archiving. |
Dependent item | oracle.archiver_state Preprocessing
|
Instance name | The name of the instance. |
Dependent item | oracle.instance_name Preprocessing
|
Instance hostname | The name of the host machine. |
Dependent item | oracle.instance_hostname Preprocessing
|
Instance role | Indicates whether the instance is an active instance or an inactive secondary instance. |
Dependent item | oracle.instance.role Preprocessing
|
Get system metrics | Gets the values of the system metrics. |
Zabbix agent | oracle.sys.metrics["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"] |
Buffer cache hit ratio | The ratio of buffer cache hits ((LogRead - PhyRead)/LogRead). |
Dependent item | oracle.buffer_cache_hit_ratio Preprocessing
|
Cursor cache hit ratio | The ratio of cursor cache hits (CursorCacheHit/SoftParse). |
Dependent item | oracle.cursor_cache_hit_ratio Preprocessing
|
Library cache hit ratio | The ratio of library cache hits (Hits/Pins). |
Dependent item | oracle.library_cache_hit_ratio Preprocessing
|
Shared pool free % | Free memory of a shared pool expressed in %. |
Dependent item | oracle.shared_pool_free Preprocessing
|
Physical reads per second | Reads per second. |
Dependent item | oracle.physical_reads_rate Preprocessing
|
Physical writes per second | Writes per second. |
Dependent item | oracle.physical_writes_rate Preprocessing
|
Physical reads bytes per second | Read bytes per second. |
Dependent item | oracle.physical_read_bytes_rate Preprocessing
|
Physical writes bytes per second | Write bytes per second. |
Dependent item | oracle.physical_write_bytes_rate Preprocessing
|
Enqueue timeouts per second | Enqueue timeouts per second. |
Dependent item | oracle.enqueue_timeouts_rate Preprocessing
|
GC CR block received per second | The global cache (GC) and the consistent read (CR) block received per second. |
Dependent item | oracle.gc_cr_block_received_rate Preprocessing
|
Global cache blocks corrupted | The number of blocks that encountered corruption or checksum failure during the interconnect. |
Dependent item | oracle.cache_blocks_corrupt Preprocessing
|
Global cache blocks lost | The number of lost global cache blocks. |
Dependent item | oracle.cache_blocks_lost Preprocessing
|
Logons per second | The number of logon attempts. |
Dependent item | oracle.logons_rate Preprocessing
|
Average active sessions | The average number of active sessions at a point in time that are either working or waiting. |
Dependent item | oracle.active_sessions Preprocessing
|
Active serial sessions | The number of active serial sessions. |
Dependent item | oracle.active_serial_sessions Preprocessing
|
Active parallel sessions | The number of active parallel sessions. |
Dependent item | oracle.active_parallel_sessions Preprocessing
|
Long table scans per second | The number of long table scans per second. A table is considered long if it is not cached and if its high water mark is greater than five blocks. |
Dependent item | oracle.long_table_scans_rate Preprocessing
|
SQL service response time | The Structured Query Language (SQL) service response time expressed in seconds. |
Dependent item | oracle.service_response_time Preprocessing
|
User rollbacks per second | The number of times that users manually issued the |
Dependent item | oracle.user_rollbacks_rate Preprocessing
|
Total sorts per user call | The total sorts per user call. |
Dependent item | oracle.sorts_per_user_call Preprocessing
|
Rows per sort | The average number of rows per sort for all types of sorts performed. |
Dependent item | oracle.rows_per_sort Preprocessing
|
Disk sort per second | The number of sorts going to disk per second. |
Dependent item | oracle.disk_sorts Preprocessing
|
Memory sorts ratio | The percentage of sorts (from |
Dependent item | oracle.memory_sorts_ratio Preprocessing
|
Database wait time ratio | Wait 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, etc. |
Dependent item | oracle.database_wait_time_ratio Preprocessing
|
Database CPU time ratio | The ratio calculated by dividing the total CPU (used by the database) by the Oracle time model statistic DB time. |
Dependent item | oracle.database_cpu_time_ratio Preprocessing
|
Temp space used | Used temporary space. |
Dependent item | oracle.temp_space_used Preprocessing
|
Get system parameters | Get a set of system parameter values. |
Zabbix agent | oracle.sys.params["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"] |
Sessions limit | The user and system sessions. |
Dependent item | oracle.session_limit Preprocessing
|
Datafiles limit | The maximum allowable number of datafiles. |
Dependent item | oracle.db_files_limit Preprocessing
|
Processes limit | The maximum number of user processes. |
Dependent item | oracle.processes_limit Preprocessing
|
Get sessions stats | Get sessions statistics. {$ORACLE.SESSION.LOCK.MAX.TIME} -- maximum seconds in the current wait condition for counting long time locked sessions. Default: 600 seconds. |
Zabbix agent | oracle.sessions.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}","{$ORACLE.SESSION.LOCK.MAX.TIME}"] |
Session count | The session count. |
Dependent item | oracle.session_count Preprocessing
|
Active user sessions | The number of active user sessions. |
Dependent item | oracle.session_active_user Preprocessing
|
Active background sessions | The number of active background sessions. |
Dependent item | oracle.session_active_background Preprocessing
|
Inactive user sessions | The number of inactive user sessions. |
Dependent item | oracle.session_inactive_user Preprocessing
|
Sessions lock rate | The 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 item | oracle.session_lock_rate Preprocessing
|
Sessions locked over {$ORACLE.SESSION.LOCK.MAX.TIME}s | The count of the prolongedly locked sessions. (You can change the duration of the maximum session lock in seconds for a query using the |
Dependent item | oracle.session_long_time_locked Preprocessing
|
Sessions concurrency | The percentage of concurrency. Concurrency is a database behavior when different transactions request to change the same resource. In the case of modifying data transactions, it sequentially temporarily blocks the right to change the data, and the rest of the transactions wait for access. When the access to a resource is locked for a long time, the concurrency grows (like the transaction queue), often leaving 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 item | oracle.session_concurrency_rate Preprocessing
|
Get PGA stats | Get PGA statistics. |
Zabbix agent | oracle.pga.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"] |
PGA, Total inuse | The amount of Program Global Area (PGA) memory 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 item | oracle.total_pga_used Preprocessing
|
PGA, Aggregate target parameter | The current value of the |
Dependent item | oracle.pga_target Preprocessing
|
PGA, Total allocated | The current amount of the PGA memory allocated by the instance. The Oracle Database attempts to keep this number below the value of the |
Dependent item | oracle.total_pga_allocated Preprocessing
|
PGA, Total freeable | The number of bytes of the PGA memory in all processes that could be freed back to the OS. |
Dependent item | oracle.total_pga_freeable Preprocessing
|
PGA, Global memory bound | The maximum size of a work area executed in automatic mode. |
Dependent item | oracle.pga_global_bound Preprocessing
|
Get FRA stats | Get FRA statistics. |
Zabbix agent | oracle.fra.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"] |
FRA, Space limit | The maximum amount of disk space (in bytes) that the database can use for the Fast Recovery Area (FRA). |
Dependent item | oracle.fra_space_limit Preprocessing
|
FRA, Used space | The amount of disk space (in bytes) used by FRA files created in the current and all the previous FRAs. |
Dependent item | oracle.fra_space_used Preprocessing
|
FRA, Space reclaimable | The total amount of disk space (in bytes) that can be created by deleting obsolete, redundant, and other low-priority files from the FRA. |
Dependent item | oracle.fra_space_reclaimable Preprocessing
|
FRA, Number of files | The number of files in the FRA. |
Dependent item | oracle.fra_number_of_files Preprocessing
|
FRA, Usable space in % | Percentage of space usable in the FRA. |
Dependent item | oracle.fra_usable_pct Preprocessing
|
FRA, Number of restore points | Number of restore points in the FRA. |
Dependent item | oracle.fra_restore_point Preprocessing
|
Get SGA stats | Get SGA statistics. |
Zabbix agent | oracle.sga.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"] |
SGA, java pool | The memory is allocated from the Java pool. |
Dependent item | oracle.sga_java_pool Preprocessing
|
SGA, large pool | The memory is allocated from a large pool. |
Dependent item | oracle.sga_large_pool Preprocessing
|
SGA, shared pool | The memory is allocated from a shared pool. |
Dependent item | oracle.sga_shared_pool Preprocessing
|
SGA, log buffer | The number of bytes allocated for the redo log buffer. |
Dependent item | oracle.sga_log_buffer Preprocessing
|
SGA, fixed | The fixed System Global Area (SGA) is an internal housekeeping area. |
Dependent item | oracle.sga_fixed Preprocessing
|
SGA, buffer cache | The size of standard block cache. |
Dependent item | oracle.sga_buffer_cache Preprocessing
|
User's expire password | The number of days before the Zabbix account password expires. |
Zabbix agent | oracle.user.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"] Preprocessing
|
Redo logs available to switch | The number of inactive/unused redo logs available for log switching. |
Zabbix agent | oracle.redolog.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"] Preprocessing
|
Number of processes | The current number of user processes. |
Zabbix agent | oracle.proc.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"] Preprocessing
|
Datafiles count | The current number of datafiles. |
Zabbix agent | oracle.datafiles.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"] Preprocessing
|
Triggers
Name | Description | Expression | Severity | Dependencies and additional info |
---|---|---|---|---|
Oracle: Connection to database is unavailable | Connection to Oracle Database is currently unavailable. |
last(/Oracle by Zabbix agent 2/oracle.ping["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"])=0 |
Disaster | |
Oracle: Version has changed | The Oracle Database version has changed. Acknowledge to close the problem manually. |
last(/Oracle by Zabbix agent 2/oracle.version["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"],#1)<>last(/Oracle by Zabbix agent 2/oracle.version["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"],#2) and length(last(/Oracle by Zabbix agent 2/oracle.version["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"]))>0 |
Info | Manual close: Yes |
Oracle: Failed to fetch info data | Zabbix has not received any data for the items for the last 5 minutes. The database might be unavailable for connecting. |
nodata(/Oracle by Zabbix agent 2/oracle.uptime,30m)=1 |
Info | |
Oracle: Host has been restarted | Uptime is less than 10 minutes. |
last(/Oracle by Zabbix agent 2/oracle.uptime)<10m |
Info | Manual close: Yes |
Oracle: Instance name has changed | An Oracle Database instance name has changed. Acknowledge to close the problem manually. |
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))>0 |
Info | Manual close: Yes |
Oracle: Instance hostname has changed | An Oracle Database instance hostname has changed. Acknowledge to close the problem manually. |
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))>0 |
Info | Manual close: Yes |
Oracle: Shared pool free is too low | The free memory percent of the shared pool has been less than |
max(/Oracle by Zabbix agent 2/oracle.shared_pool_free,5m)<{$ORACLE.SHARED.FREE.MIN.WARN} |
Warning | |
Oracle: Too many active sessions | Active sessions are using more than |
min(/Oracle by Zabbix agent 2/oracle.session_count,5m) * 100 / last(/Oracle by Zabbix agent 2/oracle.session_limit) > {$ORACLE.SESSIONS.MAX.WARN} |
Warning | |
Oracle: Too many locked sessions | The number of locked sessions exceeds |
min(/Oracle by Zabbix agent 2/oracle.session_lock_rate,5m) > {$ORACLE.SESSIONS.LOCK.MAX.WARN} |
Warning | |
Oracle: Too many sessions locked | The number of locked sessions exceeding |
min(/Oracle by Zabbix agent 2/oracle.session_long_time_locked,5m) > {$ORACLE.SESSION.LONG.LOCK.MAX.WARN} |
Warning | |
Oracle: Too high database concurrency | The concurrency rate exceeds |
min(/Oracle by Zabbix agent 2/oracle.session_concurrency_rate,5m) > {$ORACLE.CONCURRENCY.MAX.WARN} |
Warning | |
Oracle: Total PGA inuse is too high | The total PGA in use is more than |
min(/Oracle by Zabbix agent 2/oracle.total_pga_used,5m) * 100 / last(/Oracle by Zabbix agent 2/oracle.pga_target) > {$ORACLE.PGA.USE.MAX.WARN} |
Warning | |
Oracle: Zabbix account will expire soon | The password for the Zabbix user in the database expires 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: Number of REDO logs available for switching is too low | The number of inactive/unused redos available for log switching is low (risk of database downtime). |
max(/Oracle by Zabbix agent 2/oracle.redolog.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"],5m) < {$ORACLE.REDO.MIN.WARN} |
Warning | |
Oracle: Too many active processes | Active processes are using more than |
min(/Oracle by Zabbix agent 2/oracle.proc.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"],5m) * 100 / last(/Oracle by Zabbix agent 2/oracle.processes_limit) > {$ORACLE.PROCESSES.MAX.WARN} |
Warning | |
Oracle: Too many database files | The number of datafiles is higher than |
min(/Oracle by Zabbix agent 2/oracle.datafiles.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"],5m) * 100 / last(/Oracle by Zabbix agent 2/oracle.db_files_limit) > {$ORACLE.DB.FILE.MAX.WARN} |
Warning |
LLD rule Database discovery
Name | Description | Type | Key and additional info |
---|---|---|---|
Database discovery | Scanning databases in the database management system (DBMS). |
Zabbix agent | oracle.db.discovery["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"] |
Item prototypes for Database discovery
Name | Description | Type | Key and additional info |
---|---|---|---|
Database '{#DBNAME}': Get CDB and No-CDB info | Gets the information about the CDB and non-CDB database on an instance. |
Zabbix agent | oracle.cdb.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}","{#DBNAME}"] |
Database '{#DBNAME}': Open status | 1 - MOUNTED; 2 - READ WRITE; 3 - READ ONLY; 4 - READ ONLY WITH APPLY (a physical standby database is open in real-time query mode). |
Dependent item | oracle.db_open_mode["{#DBNAME}"] Preprocessing
|
Database '{#DBNAME}': Role | The current role of the database where: 1 - SNAPSHOT STANDBY; 2 - LOGICAL STANDBY; 3 - PHYSICAL STANDBY; 4 - PRIMARY; 5 - FAR SYNC. |
Dependent item | oracle.db_role["{#DBNAME}"] Preprocessing
|
Database '{#DBNAME}': Log mode | The archive log mode where: 0 - NOARCHIVELOG; 1 - ARCHIVELOG; 2 - MANUAL. |
Dependent item | oracle.db_log_mode["{#DBNAME}"] Preprocessing
|
Database '{#DBNAME}': Force logging | Indicates whether the database is under force logging mode ( |
Dependent item | oracle.db_force_logging["{#DBNAME}"] Preprocessing
|
Trigger prototypes for Database discovery
Name | Description | Expression | Severity | Dependencies and additional info |
---|---|---|---|---|
Oracle: Database '{#DBNAME}': Open status in mount mode | The Oracle Database is in a mounted state. |
last(/Oracle by Zabbix agent 2/oracle.db_open_mode["{#DBNAME}"])=1 |
Warning | |
Oracle: Database '{#DBNAME}': Open status has changed | The Oracle Database open status has changed. Acknowledge to close the problem manually. |
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 | Manual close: Yes Depends on:
|
Oracle: Database '{#DBNAME}': Role has changed | The Oracle Database role has changed. Acknowledge to close the problem manually. |
last(/Oracle by Zabbix agent 2/oracle.db_role["{#DBNAME}"],#1)<>last(/Oracle by Zabbix agent 2/oracle.db_role["{#DBNAME}"],#2) |
Info | Manual close: Yes |
Oracle: Database '{#DBNAME}': Force logging is deactivated for DB with active Archivelog | Force logging mode is a very important metric for databases in |
last(/Oracle by Zabbix agent 2/oracle.db_force_logging["{#DBNAME}"]) = 0 and last(/Oracle by Zabbix agent 2/oracle.db_log_mode["{#DBNAME}"]) = 1 |
Warning |
LLD rule PDB discovery
Name | Description | Type | Key and additional info |
---|---|---|---|
PDB discovery | Scanning a pluggable database (PDB) in DBMS. |
Zabbix agent | oracle.pdb.discovery["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"] |
Item prototypes for PDB discovery
Name | Description | Type | Key and additional info |
---|---|---|---|
Database '{#DBNAME}': Get PDB info | Gets the information about the PDB database on an instance. |
Zabbix agent | oracle.pdb.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}","{#DBNAME}"] |
Database '{#DBNAME}': Open status | 1 - MOUNTED; 2 - READ WRITE; 3 - READ ONLY; 4 - READ ONLY WITH APPLY (a physical standby database is open in real-time query mode). |
Dependent item | oracle.pdb_open_mode["{#DBNAME}"] Preprocessing
|
Trigger prototypes for PDB discovery
Name | Description | Expression | Severity | Dependencies and additional info |
---|---|---|---|---|
Oracle: Database '{#DBNAME}': Open status in mount mode | The Oracle Database is in a mounted state. |
last(/Oracle by Zabbix agent 2/oracle.pdb_open_mode["{#DBNAME}"])=1 |
Warning | |
Oracle: Database '{#DBNAME}': Open status has changed | The Oracle Database open status has changed. Acknowledge to close the problem manually. |
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 | Manual close: Yes |
LLD rule Tablespace discovery
Name | Description | Type | Key and additional info |
---|---|---|---|
Tablespace discovery | Scanning tablespaces in DBMS. |
Zabbix agent | oracle.ts.discovery["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"] |
Item prototypes for Tablespace discovery
Name | Description | Type | Key and additional info |
---|---|---|---|
'{#CON_NAME}' TBS '{#TABLESPACE}': Get tablespaces stats | Gets the statistics of the tablespace. |
Zabbix agent | oracle.ts.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}","{#TABLESPACE}","{#CONTENTS}","{#CON_NAME}"] |
'{#CON_NAME}' TBS '{#TABLESPACE}': Tablespace allocated, bytes | Currently allocated bytes for the tablespace (sum of the current size of datafiles). |
Dependent item | oracle.tbs_alloc_bytes["{#CON_NAME}","{#TABLESPACE}"] Preprocessing
|
'{#CON_NAME}' TBS '{#TABLESPACE}': Tablespace MAX size, bytes | The maximum size of the tablespace. |
Dependent item | oracle.tbs_max_bytes["{#CON_NAME}","{#TABLESPACE}"] Preprocessing
|
'{#CON_NAME}' TBS '{#TABLESPACE}': Tablespace used, bytes | Currently used bytes for the tablespace (current size of datafiles minus the free space). |
Dependent item | oracle.tbs_used_bytes["{#CON_NAME}","{#TABLESPACE}"] Preprocessing
|
'{#CON_NAME}' TBS '{#TABLESPACE}': Tablespace free, bytes | Free bytes of the allocated space. |
Dependent item | oracle.tbs_free_bytes["{#CON_NAME}","{#TABLESPACE}"] Preprocessing
|
'{#CON_NAME}' TBS '{#TABLESPACE}': Tablespace usage, percent | Used bytes/allocated bytes*100. |
Dependent item | oracle.tbs_used_file_pct["{#CON_NAME}","{#TABLESPACE}"] Preprocessing
|
'{#CON_NAME}' TBS '{#TABLESPACE}': Tablespace allocated, percent | Allocated bytes/max bytes*100. |
Dependent item | oracle.tbs_used_pct["{#CON_NAME}","{#TABLESPACE}"] Preprocessing
|
'{#CON_NAME}' TBS '{#TABLESPACE}': Tablespace usage from MAX, percent | Used bytes/max bytes*100. |
Dependent item | oracle.tbs_used_from_max_pct["{#CON_NAME}","{#TABLESPACE}"] Preprocessing
|
'{#CON_NAME}' TBS '{#TABLESPACE}': Open status | The tablespace status where: 1 - ONLINE; 2 - OFFLINE; 3 - READ ONLY. |
Dependent item | oracle.tbs_status["{#CON_NAME}","{#TABLESPACE}"] Preprocessing
|
Trigger prototypes for Tablespace discovery
Name | Description | Expression | Severity | Dependencies and additional info |
---|---|---|---|---|
Oracle: '{#CON_NAME}' TBS '{#TABLESPACE}': Tablespace usage is too high | The usage of the tablespace |
min(/Oracle by Zabbix agent 2/oracle.tbs_used_file_pct["{#CON_NAME}","{#TABLESPACE}"],5m)>{$ORACLE.TBS.USED.PCT.MAX.WARN} |
Warning | Depends on:
|
Oracle: '{#CON_NAME}' TBS '{#TABLESPACE}': Tablespace usage is too high | The usage of the tablespace |
min(/Oracle by Zabbix agent 2/oracle.tbs_used_file_pct["{#CON_NAME}","{#TABLESPACE}"],5m)>{$ORACLE.TBS.USED.PCT.MAX.HIGH} |
High | |
Oracle: '{#CON_NAME}' TBS '{#TABLESPACE}': Tablespace utilization is too high | The utilization of the tablespace |
min(/Oracle by Zabbix agent 2/oracle.tbs_used_pct["{#CON_NAME}","{#TABLESPACE}"],5m)>{$ORACLE.TBS.UTIL.PCT.MAX.WARN} |
Warning | Depends on:
|
Oracle: '{#CON_NAME}' TBS '{#TABLESPACE}': Tablespace utilization is too high | The utilization of the tablespace |
min(/Oracle by Zabbix agent 2/oracle.tbs_used_pct["{#CON_NAME}","{#TABLESPACE}"],5m)>{$ORACLE.TBS.UTIL.PCT.MAX.HIGH} |
High | |
Oracle: '{#CON_NAME}' TBS '{#TABLESPACE}': Tablespace usage from MAX is too high | The usage of the tablespace |
min(/Oracle by Zabbix agent 2/oracle.tbs_used_from_max_pct["{#CON_NAME}","{#TABLESPACE}"],5m)>{$ORACLE.TBS.USED.PCT.FROM.MAX.WARN} |
Warning | Depends on:
|
Oracle: '{#CON_NAME}' TBS '{#TABLESPACE}': Tablespace utilization from MAX is too high | The usage of the tablespace |
min(/Oracle by Zabbix agent 2/oracle.tbs_used_from_max_pct["{#CON_NAME}","{#TABLESPACE}"],5m)>{$ORACLE.TBS.USED.PCT.FROM.MAX.HIGH} |
High | |
Oracle: '{#CON_NAME}' TBS '{#TABLESPACE}': Tablespace is OFFLINE | The tablespace is in the offline state. |
last(/Oracle by Zabbix agent 2/oracle.tbs_status["{#CON_NAME}","{#TABLESPACE}"])=2 |
Warning | |
Oracle: '{#CON_NAME}' TBS '{#TABLESPACE}': Tablespace status has changed | Oracle tablespace status has changed. Acknowledge to close the problem manually. |
last(/Oracle by Zabbix agent 2/oracle.tbs_status["{#CON_NAME}","{#TABLESPACE}"],#1)<>last(/Oracle by Zabbix agent 2/oracle.tbs_status["{#CON_NAME}","{#TABLESPACE}"],#2) |
Info | Manual close: Yes Depends on:
|
LLD rule Archive log discovery
Name | Description | Type | Key and additional info |
---|---|---|---|
Archive log discovery | Destinations of the log archive. |
Zabbix agent | oracle.archive.discovery["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"] |
Item prototypes for Archive log discovery
Name | Description | Type | Key and additional info |
---|---|---|---|
Archivelog '{#DEST_NAME}': Get archive log info | Gets the archive log statistics. |
Zabbix agent | oracle.archive.info["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}","{#DEST_NAME}"] |
Archivelog '{#DEST_NAME}': Error | Displays the error message. |
Dependent item | oracle.archivelog_error["{#DEST_NAME}"] Preprocessing
|
Archivelog '{#DEST_NAME}': Last sequence | Identifies the sequence number of the last archived redo log to be archived. |
Dependent item | oracle.archivelog_log_sequence["{#DEST_NAME}"] Preprocessing
|
Archivelog '{#DEST_NAME}': Status | Identifies the current status of the destination where: 1 - VALID; 2 - DEFERRED; 3 - ERROR; 0 - UNKNOWN. |
Dependent item | oracle.archivelog_log_status["{#DEST_NAME}"] Preprocessing
|
Trigger prototypes for Archive log discovery
Name | Description | Expression | Severity | Dependencies and additional info |
---|---|---|---|---|
Oracle: Archivelog '{#DEST_NAME}': Log Archive is not valid | The trigger will launch if the archive log destination is not in one of these states: |
last(/Oracle by Zabbix agent 2/oracle.archivelog_log_status["{#DEST_NAME}"])<2 |
High |
LLD rule ASM disk groups discovery
Name | Description | Type | Key and additional info |
---|---|---|---|
ASM disk groups discovery | The ASM disk groups. |
Zabbix agent | oracle.diskgroups.discovery["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"] |
Item prototypes for ASM disk groups discovery
Name | Description | Type | Key and additional info |
---|---|---|---|
ASM '{#DGNAME}': Get ASM stats | Gets the ASM disk group statistics. |
Zabbix agent | oracle.diskgroups.stats["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}","{#DGNAME}"] |
ASM '{#DGNAME}': Total size | The total size of the ASM disk group. |
Dependent item | oracle.asm_total_size["{#DGNAME}"] Preprocessing
|
ASM '{#DGNAME}': Free size | The free size of the ASM disk group. |
Dependent item | oracle.asm_free_size["{#DGNAME}"] Preprocessing
|
ASM '{#DGNAME}': Used size, percent | Usage of the ASM disk group expressed in %. |
Dependent item | oracle.asm_used_pct["{#DGNAME}"] Preprocessing
|
Trigger prototypes for ASM disk groups discovery
Name | Description | Expression | Severity | Dependencies and additional info |
---|---|---|---|---|
Oracle: ASM '{#DGNAME}': Disk group usage is too high | The usage of the ASM disk group expressed in % exceeds |
min(/Oracle by Zabbix agent 2/oracle.asm_used_pct["{#DGNAME}"],5m)>{$ORACLE.ASM.USED.PCT.MAX.WARN} |
Warning | Depends on:
|
Oracle: ASM '{#DGNAME}': Disk group usage is too high | The usage of the ASM disk group expressed in % exceeds |
min(/Oracle by Zabbix agent 2/oracle.asm_used_pct["{#DGNAME}"],5m)>{$ORACLE.ASM.USED.PCT.MAX.HIGH} |
High |
Feedback
Please report any issues with the template at https://support.zabbix.com
You can also provide feedback, discuss the template, or ask for help at ZABBIX forums