<html><body bgcolor="#FFFFFF"><div>Easy and brilliant :-)</div><div><br></div><div>Anyway:</div><div><br></div><div><span class="Apple-style-span" style="font-family: Times; font-size: 16px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); "><div class="TABLE"><a name="EXAMPLERANGES"></a><p><b>Table 3. Example ranges</b></p><table border="1" class="CALSTABLE"><col><col><thead><tr><th><p>Range definition</p></th><th><p>Generate an alert if x...</p></th></tr></thead><tbody><tr><td>10</td><td>< 0 or > 10, (outside the range of {0 .. 10})</td></tr><tr><td>10:</td><td>< 10, (outside {10 .. ∞})</td></tr><tr><td>~:10</td><td>> 10, (outside the range of {-∞ .. 10})</td></tr><tr><td>10:20</td><td>< 10 or > 20, (outside the range of {10 .. 20})</td></tr><tr><td>@10:20</td><td>≥ 10 and ≤ 20, (inside the range of {10 .. 20})</td></tr><tr><td>10</td><td>< 0 or > 10, (outside the range of {0 .. 10})</td></tr></tbody></table></div><div class="TABLE"><a name="COMMANDLINEEXAMPLES"></a><p><b>Table 4. Command line examples</b></p><table border="1" class="CALSTABLE"><col><col><thead><tr><th><p>Command line</p></th><th><p>Meaning</p></th></tr></thead><tbody><tr><td>check_stuff -w10 -c20</td><td>Critical if "stuff" is over 20, else warn if over 10 (will be critical if "stuff" is less than 0)</td></tr><tr><td>check_stuff -w~:10 -c~:20</td><td>Same as above. Negative "stuff" is OK</td></tr><tr><td>check_stuff -w10: -c20</td><td>Critical if "stuff" is over 20, else warn if "stuff" is below 10 (will be critical if "stuff" is less than 0)</td></tr><tr><td>check_stuff -c1:</td><td>Critical if "stuff" is less than 1</td></tr><tr><td>check_stuff -w~:0 -c10</td><td>Critical if "stuff" is above 10; Warn if "stuff" is above zero</td></tr><tr><td>check_stuff -c5:6</td><td>The only noncritical range is 5:6</td></tr><tr><td>check_stuff -c10:20</td><td>Critical if "stuff" is 10 to 20</td></tr></tbody></table></div></span><br>Ciao,<div><br></div><div>Giorgio</div></div><div><br>Il giorno 12/apr/2010, alle ore 22.17, Kevin Davison <<a href="mailto:kdavison@innosphere.ca">kdavison@innosphere.ca</a>> ha scritto:<br><br></div><div></div><blockquote type="cite"><div><span>That looks like it will solve the problem just fine! Thanks muchly!</span><br><span></span><br><span>-----Original Message-----</span><br><span>From: <a href="mailto:patrick.morris@hp.com">patrick.morris@hp.com</a> [mailto:patrick.morris@hp.com] </span><br><span>Sent: Monday, April 12, 2010 4:14 PM</span><br><span>To: Nagios Users List</span><br><span>Subject: Re: [Nagios-users] Monitoring absense of bandwidth</span><br><span></span><br><span>On Mon, 12 Apr 2010, Kevin Davison wrote:</span><br><span></span><br><blockquote type="cite"><span>I have a few proxy servers that seem to get upset when too much traffic gets sent through them. I?ve resolved my problem but I?d really like to have a faster response time if something like this happens again. I would really love to find a way to know if the bandwidth usage on my server reaches 0Kbps. The machines I?m monitoring are used heavily enough that this shouldn?t ever happen. I took a look at check_snmp_int.pl but it appears to be set up specifically to monitor high bandwidth usage rather than low.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>I?m not much of a scripter beyond Bash. Does anyone know of a pre-existing plugin that will provide this functionality?</span><br></blockquote><span></span><br><span>How about using the negate plugin with check_snmp_int.pl to invert the</span><br><span>results?</span><br><span></span><br><span>------------------------------------------------------------------------------</span><br><span>Download Intel&#174; Parallel Studio Eval</span><br><span>Try the new software tools for yourself. Speed compiling, find bugs</span><br><span>proactively, and fine-tune applications for parallel performance.</span><br><span>See why Intel Parallel Studio got high marks during beta.</span><br><span><a href="http://p.sf.net/sfu/intel-sw-dev">http://p.sf.net/sfu/intel-sw-dev</a></span><br><span>_______________________________________________</span><br><span>Nagios-users mailing list</span><br><span><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a></span><br><span><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a></span><br><span>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. </span><br><span>::: Messages without supporting info will risk being sent to /dev/null</span><br><span></span><br><span>------------------------------------------------------------------------------</span><br><span>Download Intel&#174; Parallel Studio Eval</span><br><span>Try the new software tools for yourself. Speed compiling, find bugs</span><br><span>proactively, and fine-tune applications for parallel performance.</span><br><span>See why Intel Parallel Studio got high marks during beta.</span><br><span><a href="http://p.sf.net/sfu/intel-sw-dev">http://p.sf.net/sfu/intel-sw-dev</a></span><br><span>_______________________________________________</span><br><span>Nagios-users mailing list</span><br><span><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a></span><br><span><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a></span><br><span>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. </span><br><span>::: Messages without supporting info will risk being sent to /dev/null</span><br></div></blockquote></body></html>