hi,

I have a server with a cheap apc ups unit. No network card on it, just
a usb cable. I have a script that parses the output of /sbin/apcaccess
to get some info. If I run the script locally, I get the output I
want. If I run it from the opsview server and the check_nrpe plugin, I
get the output I want:

./check_nrpe -H host -c check_apcups_bcharge
OK - Battery Charge: 100.0%

I created a service check in the web ui using the check_npre plugin
and as arguments:

-H $HOSTADDRESS$ - c check_apcups_bcharge

and when it runs, the web ui shows Status Information:  NRPE v2.12.

I am puzzled. Any ideas as to what I am doing wrong?

TIA
--
natxo
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to