<!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 5.5.2657.73">
<TITLE>Re: [Nagios-users] Check_snmp problems</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Thanks Julian, I'll give it a try.</FONT>
</P>
<BR>

<P><FONT SIZE=2>Bill</FONT>
</P>

<P><FONT SIZE=2>--------------------------</FONT>
<BR><FONT SIZE=2>Sent from my BlackBerry Wireless Handheld</FONT>
</P>
<BR>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: nagios-users-admin@lists.sourceforge.net <nagios-users-admin@lists.sourceforge.net></FONT>
<BR><FONT SIZE=2>To: Nagios-users@lists.sourceforge.net <Nagios-users@lists.sourceforge.net></FONT>
<BR><FONT SIZE=2>Sent: Sat Oct 09 06:00:33 2004</FONT>
<BR><FONT SIZE=2>Subject: Re: [Nagios-users] Check_snmp problems</FONT>
</P>

<P><FONT SIZE=2>Hi Bill,                                </FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>> I was unable to find a solution to this problem from a search</FONT>
<BR><FONT SIZE=2> of the list.</FONT>
</P>

<P><FONT SIZE=2>> </FONT>
</P>

<P><FONT SIZE=2>> When using check_snmp to check cpu usage on a host, I get warnings</FONT>
<BR><FONT SIZE=2> even when</FONT>
</P>

<P><FONT SIZE=2>> the retrieved value falls within an acceptable range. Assuming</FONT>
<BR><FONT SIZE=2> that my</FONT>
</P>

<P><FONT SIZE=2>> syntax was wrong, I tried multiple variations, but the result</FONT>
<BR><FONT SIZE=2> is the same.</FONT>
</P>

<P><FONT SIZE=2>> </FONT>
</P>

<P><FONT SIZE=2>> Does anyone have a solution to this problem?</FONT>
</P>

<P><FONT SIZE=2>> </FONT>
</P>

<P><FONT SIZE=2>> monitor-server# ./check_snmp -v -H 192.168.123.156 -o</FONT>
</P>

<P><FONT SIZE=2>> .1.3.6.1.2.1.25.3.3.1.2.1 -w 100: -c 90: -C public</FONT>
</P>

<P><FONT SIZE=2>> /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:</FONT>
<BR><FONT SIZE=2>161</FONT>
</P>

<P><FONT SIZE=2>> .1.3.6.1.2.1.25.3.3.1.2.1</FONT>
</P>

<P><FONT SIZE=2>> HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 1</FONT>
</P>

<P><FONT SIZE=2>> SNMP CRITICAL - *1*</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>This is a flaw with check_snmp and MIBs with incorrect syntax. If</FONT>
<BR><FONT SIZE=2> you use OIDs, you could just disable MIB parsing with "-m :". It</FONT>
<BR><FONT SIZE=2> is also documented in the Nagios FAQ: <A HREF="http://www.nagios.org/faqs/viewfaq" TARGET="_blank">http://www.nagios.org/faqs/viewfaq</A></FONT>
<BR><FONT SIZE=2>.php?faq_id=208</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>Julian</FONT>
</P>
<BR>

<P><FONT SIZE=2>-------------------------------------------------------</FONT>
<BR><FONT SIZE=2>This SF.net email is sponsored by: IT Product Guide on ITManagersJournal</FONT>
<BR><FONT SIZE=2>Use IT products in your business? Tell us what you think of them. Give us</FONT>
<BR><FONT SIZE=2>Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more</FONT>
<BR><FONT SIZE=2><A HREF="http://productguide.itmanagersjournal.com/guidepromo.tmpl" TARGET="_blank">http://productguide.itmanagersjournal.com/guidepromo.tmpl</A></FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Nagios-users mailing list</FONT>
<BR><FONT SIZE=2>Nagios-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2><A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users" TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</A></FONT>
<BR><FONT SIZE=2>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. </FONT>
<BR><FONT SIZE=2>::: Messages without supporting info will risk being sent to /dev/null</FONT>
</P>

</BODY>
</HTML>