Hi, I thought I'd see if anyone has done this before.

I'm installing the standard Nagios check_* plugins on a server with only the
UCD SNMP daemon (IE, the one you get with Linux).  This takes generic
extensions, which are compatible with the Nagios plugins.  So, I would add
something like this to the snmpd.conf:

exec procs /usr/local/nrpe/check_procs -w 100 -c 1000

and then the output of the plugin would be visible via SNMP.  I can write a
simple check plugin - check_ucd - that I can query with 

check_ucd -H hostname -v procs

and it returns the plugin output and exit status.  Of course, you cant pass
any parameters.

Has anyone tried this before?  Am I reinventing a round rolling thing?
Would people want a copy of check_ucd?

Steve




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to