<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7233.28">
<TITLE>SNMP, Dell Hardware</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>
<P><FONT SIZE=2 FACE="Arial">Hi All </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I'm using Nagios (on Debian Sarge) to monitor our servers and I'm having difficulties getting chack_snmp to work.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">If I use the command `snmpget -v1 -m /root/DELL_10892.mib -c public myserver powerSupplyStatus.1.1`</FONT>
<BR><FONT SIZE=2 FACE="Arial">I get the result : MIB-Dell-10892::powerSupplyStatus.1.1 = INTEGER: ok(3)</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I'm pretty happy with that, but I need check_snmp to report back to nagios.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">From the MIB I can see the following...</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">DellStatus ::= INTEGER {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> other(1), -- the status of the object is not one of the following:</FONT>
<BR><FONT SIZE=2 FACE="Arial"> unknown(2), -- the status of the object is unknown</FONT>
<BR><FONT SIZE=2 FACE="Arial"> -- (not known or monitored)</FONT>
<BR><FONT SIZE=2 FACE="Arial"> ok(3), -- the status of the object is ok</FONT>
<BR><FONT SIZE=2 FACE="Arial"> nonCritical(4), -- the status of the object is warning, non-critical</FONT>
<BR><FONT SIZE=2 FACE="Arial"> critical(5), -- the status of the object is critical (failure)</FONT>
<BR><FONT SIZE=2 FACE="Arial"> nonRecoverable(6) -- the status of the object is non-recoverable (dead)</FONT>
<BR><FONT SIZE=2 FACE="Arial">}</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">So for Nagios I expected the following to work…</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">`./check_snmp -C public -H myserver -o powerSupplyStatus.1.1 -w 4 -c 5:6`</FONT>
<BR><FONT SIZE=2 FACE="Arial">results : SNMP CRITICAL - *3*</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Have I misunderstood how the warning and critical thresholds work ?</FONT>
<BR><FONT SIZE=2 FACE="Arial">Can anyone help ?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I feel I'm close, if I can crack this I'll be set.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">thanks</FONT>
</P>
<BR>
<P><B><FONT SIZE=2 FACE="Verdana">Matthew Joyce</FONT></B>
<BR><FONT COLOR="#808080" SIZE=1 FACE="Verdana">02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research<I></I></FONT><I></I>
</P>
</BODY>
</HTML>