<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2><SPAN class=642365115-25032005>I have this plugin
working fine. From the command line it outputs great, but Nagios is
displaying an unknown</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=642365115-25032005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=642365115-25032005>[nagios@jbglinux
libexec]$ ./check_apc_ups.pl -H 192.168.100.45<BR>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</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=642365115-25032005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=642365115-25032005>But Nagios
shows</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=642365115-25032005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=642365115-25032005>[1111766100]
SERVICE;APC;APC
Check;UNKNOWN;3/3;HARD;1111766040;1111766460;ACTIVE;1;1;1;1111764750;0;UNKNOWN;120;0;0;0;0;0;1;0;1;1;0;0.00;0;1;0;1;Output
status: onLine</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=642365115-25032005><SPAN
class=642365115-25032005></SPAN><BR>Doesn't seem to be taking the whole
output.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=642365115-25032005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=642365115-25032005>Thanks for any input
on the matter.</SPAN></FONT></DIV></FONT></DIV></BODY></HTML>