<div class="gmail_quote">On Tue, Apr 12, 2011 at 2:58 PM,  <span dir="ltr"><<a href="mailto:Jason.Shaffer@crown.com">Jason.Shaffer@crown.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<font face="sans-serif" size="2">I am having problems with the checksnmp
command, I am running some check_snmp commands against our DHCP server.
In this specific instance I want a warning if the value is 17:23 and a
critical if the value is 0:16, regardless of how i type it in, I get a
critical message. Any ideas?</font>
<br>
<br><font face="sans-serif" size="2">./check_snmp -C s8n1mp  -H Corp208
-o .1.3.6.1.4.1.311.1.3.2.1.1.3.172.20.2.0 -w 17:23 -c 0:16</font>
<br><font face="sans-serif" size="2">SNMP CRITICAL - *97* | iso.3.6.1.4.1.311.1.3.2.1.1.3.172.20.2.0=97c
</font>
<br>
</blockquote></div><br><br>What does this OID represent, and what is the scale in which it reports?  <br><br>Try starting both ranges at 0:<br><font face="sans-serif" size="2"><br>./check_snmp -C s8n1mp  -H Corp208
-o .1.3.6.1.4.1.311.1.3.2.1.1.3.172.20.2.0 -w 0:23 -c 0:16</font>
<br><br>Critical values override Warning values, so it doesn't matter if they overlap.<br><br>-Mike<br>