check_mrtg
Marc Powell
marc at ena.com
Thu Jun 7 18:09:08 CEST 2007
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Israel Brewster
> Sent: Thursday, June 07, 2007 10:53 AM
> To: Rex Wickham (2020Media.com)
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] check_mrtg
>
> To the best of my knowledge, all such plugins are designed to alert
> only when traffic exceeds a certain threshold, not when it drops
I haven't followed this thread too closely but it sounds like the negate
plugin might be useful. negate changes OK to CRITICAL and vice-versa.
You'll need two separate tests though. For example say normal was
between 4 and 7, critical above 7 or below 4.
check_mrtg -c 8 # CRITICAL if 8 or above, everything else is OK
negate check_mrtg -c 3 # CRITICAL if 3 or below everything else is OK
--
Marc
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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