Monitoring absense of bandwidth
Giorgio Zarrelli
zarrelli at linux.it
Tue Apr 13 00:48:33 CEST 2010
Easy and brilliant :-)
Anyway:
Table 3. Example ranges
Range definition
Generate an alert if x...
10 < 0 or > 10, (outside the range of {0 .. 10})
10: < 10, (outside {10 .. ∞})
~:10 > 10, (outside the range of {-∞ .. 10})
10:20 < 10 or > 20, (outside the range of {10 .. 20})
@10:20 ≥ 10 and ≤ 20, (inside the range of {10 .. 20})
10 < 0 or > 10, (outside the range of {0 .. 10})
Table 4. Command line examples
Command line
Meaning
check_stuff -w10 -c20 Critical if "stuff" is over 20, else warn if
over 10 (will be critical if "stuff" is less than 0)
check_stuff -w~:10 -c~:20 Same as above. Negative "stuff" is OK
check_stuff -w10: -c20 Critical if "stuff" is over 20, else warn if
"stuff" is below 10 (will be critical if "stuff" is less than 0)
check_stuff -c1: Critical if "stuff" is less than 1
check_stuff -w~:0 -c10 Critical if "stuff" is above 10; Warn if
"stuff" is above zero
check_stuff -c5:6 The only noncritical range is 5:6
check_stuff -c10:20 Critical if "stuff" is 10 to 20
Ciao,
Giorgio
Il giorno 12/apr/2010, alle ore 22.17, Kevin Davison <kdavison at innosphere.ca
> ha scritto:
> That looks like it will solve the problem just fine! Thanks muchly!
>
> -----Original Message-----
> From: patrick.morris at hp.com [mailto:patrick.morris at hp.com]
> Sent: Monday, April 12, 2010 4:14 PM
> To: Nagios Users List
> Subject: Re: [Nagios-users] Monitoring absense of bandwidth
>
> On Mon, 12 Apr 2010, Kevin Davison wrote:
>
>> 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.
>>
>> I?m not much of a scripter beyond Bash. Does anyone know of a pre-
>> existing plugin that will provide this functionality?
>
> How about using the negate plugin with check_snmp_int.pl to invert the
> results?
>
> ---
> ---
> ---
> ---------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
> ---
> ---
> ---
> ---------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100413/71277f8a/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list