Listener log check


Job details

Name: Listener log check
Platform: Oracle
Category: Availability
Description: This checks and reads errors from the database listener log. Using Oracle native code to read.
Long description: This checks and reads errors from the database listener log. Using Oracle native code to read.
Version: 1.8
Default schedule: 7,27,47 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘oracle’]/.[hasengine=‘YES’ & (version like ‘10%’) & _priv_read_dba_directories = ‘1′ & can_get_grant_create_any_directory=‘1′]

Parameters

Name Default value Description
listener log name listener.log The name of the Listener log file.
listener log path null The path name of the Listener log file which is used to create directory object.
listener log directory name DBW_LISTENER_DIR The name of the directory object created with the DDL – “create directory”.
listener log error text TNS- Defines which strings (errors) the Check must look for. Values for this parameter must be
listener log line HWM 1 Each time the Check read the listener log, it registers how many rows have been checked.
listener log max lines 200000 If the listener log has more lines than the value of this parameter, then the Check terminates
listener log max elapsed time 60 Define the maximum elaps time the Check can execute (values are in seconds). If the execution ‘
listener log error text allowed TNS-12500 Specifies the error strings which are excluded.

Job Summary

Job Details

Dependencies and Pre-Implementation

SQL for Pre-Implementation Privilege Check

grant CREATE ANY DIRECTORY to ";;inst-user;;"

Core Implementation

Output and Reporting

Example Report Output

Log Text
Error on listener at 10:10 PM – TNS-00515: Connection Closed

Conclusion