
Net Uptime Monitor (NUM) uses the “Ping” command to test the response from three public servers operated by Google, Level 3, and OpenDNS. This failure log will help your provider troubleshoot the problem – after it helps you convince them it’s not your imagination! Net Uptime Monitor is designed to be as simple as possible and accomplish this one purpose accurately and thoroughly with the least effort from you. The Net Uptime Monitor alerts you to failures in your internet connection and documents the exact time and length of those failures. But all too often the response is “Well, it’s working fine now!” It is better to allow the SNMP Poller monitor to do the threshold comparison though because the alert messaging will be more clear and the metric can be retained for graphing purposes, if desired.Is your internet connection unreliable? You’ve probably called your internet provider’s support line and maybe they were able to help you, maybe they even sent out a tech to look at it. If these values are exceeded, UCD-SNMP-MIB::prErrorFlag will be set to 1 (otherwise it is zero). These are max and min values for the number of occurrences of the process. Two values are required, along with the process name, when adding the proc directive to nf. For each of the processes specified in nf using the "proc" directive, UCD-SNMP-MIB::prCount.x will contain the number of occurrences of that process. The OID specified when configuring the SNMP Poller monitor is UCD-SNMP-MIB::prCount (.1.3.6.1.2.5). For a full description of each of the OIDs in the prTable, see. The MIB being leveraged for this SNMP query is UCD-SNMP-MIB, which is usually a regular part of a Net-SNMP install, and the table of interest is the prTable. If the occurrence is greater than one, a warning alert will be sent and if it is less than one, a critical alert will be sent. This SNMP Poller will pull back the number of occurrences of the processes specified with the proc directive in nf.

I'll give the steps first and the logic follows later in the article. With a few extra lines added to nf and a SNMP Poller monitor, it is possible to set up process count monitoring and alerting for Net-SNMP elements. Processes metrics are not available by default via Net-SNMP therefore the Net-SNMP collection method in Uptime Infrastructure Monitor does not gather process metrics.
