[Nagiosplug-help] check_apc_ups.pl

rmaij at jbg.com rmaij at jbg.com
Fri Mar 25 08:12:03 CET 2005


I have this plugin working fine.  From the command line it outputs great,
but Nagios is displaying an unknown
 
[nagios at jbglinux libexec]$ ./check_apc_ups.pl -H 192.168.100.45
Output status: onLine | Rem time: 0:11:00.00 | Battery status: batteryNormal
| Battery temp(C): 29 | Battery repl: noBatteryNeedsReplacing | Output load
(%): 42 | Diag result: OK
 
But Nagios shows
 
[1111766100] SERVICE;APC;APC
Check;UNKNOWN;3/3;HARD;1111766040;1111766460;ACTIVE;1;1;1;1111764750;0;UNKNO
WN;120;0;0;0;0;0;1;0;1;1;0;0.00;0;1;0;1;Output status: onLine

Doesn't seem to be taking the whole output.
 
Thanks for any input on the matter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20050325/3a487f87/attachment.html>


More information about the Help mailing list