Netlsnr agent functions

The listener is a server process that listens to incoming client connection requests and manages traffic to the database. The Netlsnr agent brings the listener services online, monitors their status, and takes them offline.

Table 1-8 lists the Netlsnr agent operations.

Netlsnr agent operations

Agent operation

Description

Online  

Starts the listener process by using the following command: 

lsnrctl start $LISTENER

Offline  

Stops the listener process by using the following command: 

lsnrctl stop $LISTENER

If the listener is configured with a password, the agent uses the password to stop the listener. 

Monitor  

Verifies the status of the listener process. 

The Netlsnr agent provides two levels of monitoring: basic and detail.  

  • In the basic monitoring mode, the agent scans the process table for the tnslsnr process to verify the listener process is running.
  • In the detail monitoring mode, the agent uses the lsnrctl status $LISTENER command to verify the status of the Listener process. (Default)

Clean  

Scans the process table for tnslsnr $Listener and kills it. 

Action  

Performs predefined actions on a resource.  

See Action entry point