Listener status check


Job details

Name: Listener status check
Platform: Oracle
Category: Availability
Description: Checks listener status to verify if up and running, requires java support in the database.
Long description: Task checks listener status to verify that listener is up and running. This task requires java support in the database.
Version: 3.2
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’ & eleven_and_above = ‘1′ & enable_java = ‘1′]

Parameters

Name Default value Description
Delete statistics older than (hours) 336
Listener status string AUTO Give the alert the lsnrctl status exec command if it can not find it by itself. Possible values are “AUTO“ or an exec string such as “/u01/app/oracle/10.0/db_1/bin/lsnrctl status”.
Status match text READY This is the value to look for in the lsnrctl status line for this instance. Possible values includes, but are not limited to READY and UNKNOWN.
Named listener name Put a value here, if you want to check a named listener

Job Summary

lsnrctl status

Technical Details
h3. Scheduled Check Patterns

Frequency Description
Every 5 minutes Checks if the listener is up and running by checking specific text (e.g., “READY“) in the output of the listener’s status command.

Dependencies

Cleanup Procedures

Reporting and Monitoring

Alert Conditions

If the condition for verifying the listener status fails (e.g., the listener status does not match “READY“ or the specified statuses), an alert is generated with necessary information such as execution count and any exception messages should the listener status check procedure face execution issues.

Listener Status Report

Special Procedures

Conclusion

This job represents a critical monitoring function in database operations for Oracle instances. It ensures that listeners are functioning correctly, otherwise alerts the administrator to take appropriate action, thereby maintaining connectivity and database service levels.