Instance alert log


Job details

Name: Instance alert log
Platform: Oracle
Category: Availability
Description: Reads and checks errors in the V$DIAG_ALERT_EXT performance view contained in the XML decoded version of the XML version of Alert log file.
Long description: Task reads and checks errors in the V$DIAG_ALERT_EXT performance view which contains the XML decoded version of the XML version of the Alert log file.
Version: 5.4
Default schedule: 0,5,10,15,20,25,30,35,40,45,50,55 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘oracle’]/.[hasengine=‘YES’ & twelve_and_above=‘1′ & maj_min_version != ‘12.1′ & has_x_dbgalertext=‘1′]

Parameters

Name Default value Description
error text ORA- Defines which strings (errors) the Check must look for. Values must be separated with commas (,).
HWM 1 Each time the Check read the X$DBGALERTEXT view, it registers the last record_id of the row that have been checked. The next time the Check executes, it browses pass the rows already checked.
error text allowed ORA-0 Specifies the error strings which are excluded.
seperator , Specifies separator sign between text strings or lines
history threshold 1000 The maximum numbers of error messages history this table will keep (in the db_alert_err_tab_histr table).
max lines 500000 The maximum numbers of lines we want to have in V$DIAG_ALERT_EXT view before we ask to delete files on disk

Job Summary

SELECT component_id, message_level, message_text FROM V$DIAG_ALERT_EXT WHERE record_id > :hwm ORDER BY record_id DESC;

Job Implementation Details

Dependency Details

Error Handling

Upgrade and Pre-Implementation

Report Specifications

Optimization and Performance

In summary, this dbWatch monitoring job serves as an essential tool in a database administrator’s kit, enabling proactive management of Oracle database health by closely monitoring the instance alert logs for potential issues well before they escalate into significant problems.