Hello, I have written a general-purpose status poller for JFFNMS. This poller can be used many times, like the snmp_counter poller.
The idea is to poll a specific OID and then return 'up' or 'down' depending on the value returned by the SNMP agent. It requires two parameters that are separated by a pipe symbol "|". The first parameter is the OID you want to poll, the second is a commar-delimited list of return values that you consider is 'up'. For example if you want to poll OID 1.2.3.4.5.6.0 and the values 2 and 3 are returned when the device is working, the parameter would be 1.2.3.4.5.6.0|2,3 I have found this poller file very useful as you quite often need to poll a specific OID. You generally would pump the output value into a admin or oper status backend. The file is copyright 2004 by me and licenced under the GPL. Javier is welcome to include it in JFFNMS if he wants. - Craig -- Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5 Eye-Net Consulting http://www.enc.com.au/ MIEE Debian developer csmall at : enc.com.au ieee.org debian.org
snmp_status.php
Description: application/httpd-php
