Alert log check


Job details

Name: Alert log check
Platform: Oracle
Category: Availability
Description: This check reads and looks for errors in the database alert log.
Long description: This check reads and looks for errors in the database alert log. Uses Oracle internal routines to read files. (Oracle 8i only).
Version: 2.5
Default schedule: 0,10,20,30,40,50 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘oracle’]/.[hasengine=‘YES’ & (version like ‘8%’) & _priv_read_v_parameter = ‘1′ & can_get_grant_create_any_directory=‘1′ ]

Parameters

Name Default value Description
alert log name alert_ORACLE_SID.log The name of the Oracle alert log.
alert log path ORACLE_HOME\admin\ORACLE_SID\bdump The path name of the Oracle alert log.
alert log error text ORA- Defines which strings (errors) the Check must look for. Values must be separated with commas (,).
alert log line HWM 1 Each time the Check read the alert log, it registers how many rows have been checked. The next time
alert log max lines 200000 If the alert log has more lines than the value of this parameter, then the Check terminates and
alert log max elapsed time 60 Define the maximum running time the Check can execute (values are in seconds). If the execution time reach
alert log error text allowed NULL Specifies the error strings which are excluded.

Job Summary

SELECT log_text FROM ";;dbw~schema;;".dbw_filelogs WHERE log_type ='alert' ORDER BY row_no;

Details of the Implementation

Functionality

Dependencies and Pre-Implementation

Reporting

Dependency Object Description
Procedure alert_log Main procedure initiating the alert log check
Procedure get_filelog_status Retrieves the status after logfile check
Table DBW_FILELOGS Used to store logfile data within dbWatch engine
Procedure check_filelog Used by various log checking procedures within dbWatch

Maintenance and Adaptability

Considerations