PrTableMonitor

The PrTableMonitor monitor tests the prTable of a Net-SNMP agent.

prTable definition

A table containing information on running programs/daemons configured for monitoring in the snmpd.conf file of the agent. Processes violating the number of running processes required by the agent’s configuration file are flagged with numerical and textual errors.

— UCD-SNMP-MIB

The monitor looks up the prErrorFlag entries of this table. If the value of a prErrorFlag entry in this table is set to 1, the service is considered unavailable.

prErrorFlag definition

An Error flag to indicate trouble with a process. It goes to 1 if there is an error, 0 if no error.

— UCD-SNMP-MIB

Monitor facts

Class Name

org.opennms.netmgt.poller.monitors.PrTableMonitor

Configuration and use

Table 1. Optional monitor-specific parameters for the PrTableMonitor
Parameter Description Default

port

The port to which to try connection.

From snmp-config.xml

retries

Deprecated. Same as retry. Parameter retry takes precedence if both are set.

From snmp-config.xml

This monitor implements the Common Configuration Parameters.

Examples

<!-- Overriding default SNMP config -->
<service name="Process-Table" interval="300000" user-defined="false" status="on">
  <parameter key="retry" value="3"/>
  <parameter key="timeout" value="5000"/>
</service>

<monitor service="Process-Table" class-name="org.opennms.netmgt.poller.monitors.PrTableMonitor" />

UCD-SNMP-MIB

Find the UCD-SNMP-MIB here.