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 <kdavi...@innosphere.ca > ha scritto:

That looks like it will solve the problem just fine! Thanks muchly!

-----Original Message-----
From: patrick.mor...@hp.com [mailto:patrick.mor...@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&#174; 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@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&#174; 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@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&#174; 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@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

Reply via email to