<html><body  bgcolor="#ffffff"><DIV><FONT face=Verdana size=2></FONT></DIV>
<DIV><FONT face=Verdana size=2>I am trying to get something to work in Nagios and my command generates a response of unknown, but the snmpwalk generates a value of 2<BR>I also tried another oid and the values generated are identical for the snmpwalk and the snmpget<BR><BR>(the one for the upsBatteryStatus is the one I am curious about)<BR><BR>[root@nagios mibwalk]# /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 -C public -o SNMPv2-SMI::mib-2.33.1.2.2.0<BR>SNMP OK - 0 seconds | UPS-MIB::upsSecondsOnBattery.0=0 seconds<BR><BR>[root@nagios mibwalk]# /usr/lib/nagios/plugins/check_snmp -H 10.1.102.40 -C public -o SNMPv2-SMI::mib-2.33.1.2.1.0<BR>SNMP OK - unknown(1) | UPS-MIB::upsBatteryStatus.0=unknown(1)<BR>[root@nagios mibwalk]#<BR><BR>Data from snmpwalk is below:</FONT></DIV>
<DIV><FONT face=Verdana size=2><BR>UPS-MIB::upsBatteryStatus.0 = INTEGER: batteryNormal(2)</FONT></DIV>
<DIV><FONT face=Verdana size=2>UPS-MIB::upsSecondsOnBattery.0 = INTEGER: 0 seconds</FONT></DIV>
<P><FONT face=Verdana size=2>Natalie</FONT></P>
<P>Experis Data Center LLC <BR>8209 Valley Pike <BR>PO Box 535 <BR>Middletown,VA 22645 <BR>phone:540-869-8702 <BR>cell:240-988-3267 <BR>fax:540-869-8710 <BR>e-mail:naloi@experisdatacenters.com</P></body></html>