Hi Craig,

It will be better if you could select the return value,
I mean 1.2.3.4.5.6.0|2=running,3=not running

We've something similar but only for DB records, so this is useful.

Thanks,
Javier

Craig Small wrote:
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

-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Javier Szyszlican, Project Leader, JFFNMS [EMAIL PROTECTED]

I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to