Service thresholds

Marc Powell marc at ena.com
Thu Dec 4 22:17:16 CET 2003



> -----Original Message-----
> From: Ben Whaley [mailto:bwhaley at costrack.com]
> Sent: Thursday, December 04, 2003 2:13 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Service thresholds
> 
> Greetings,
> 
> I'm sure there is a way to do this with nagios but it isn't
immediately
> obvious to me. Here is my problem.
> 
> I'd like to suppress notifications about state changes for a certain
> threshold. For example, say a server of my is hit with a spam message
that
> is delivered to all my users. The number of processes, number of
sendmail
> processes, and system load will all increase, all of which I am
> monitoring.
> But if they just increase (over the critical states) and then return
to
> normal after delivering the spam, I don't want to be notified. I only
want
> to be notified if the host retains that critical state for, say, 2 or
more
> checks.
> 
> Any ideas?
> 

Play with your max_check_attempts and retry check interval. For example,


        max_check_attempts              5
        normal_check_interval           5
        retry_check_interval            3

means that nagios will have to go through 5 failures at 3 minutes
between attempts for a total of about 15 minutes before a notification
is sent out. If the service recovers at any point in that process, no
notification is sent.

--
Marc


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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