One thing to watch is that HOST alerts will get sent out as soon as the host is detected down. You can play with the retry settings. But you generally need to keep those short, as a host check supercedes all other checks, and nagios will essentially pause until it determines status of the host.
 
You can also play with escalations to delay checks. Have no notifications initially, and then use an escalation to send the alert later. This takes a little work to get right.
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Segura
Sent: Wednesday, August 09, 2006 12:09 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] controlling notifications a bit better

Normal check interval: 5 min

Retry Check interval  : 5 min

Max check attempts :  2

 

-or-

 

Normal check interval: 2 min

Retry check interval:   1 min

Max check attempts:  9

 

-or- 

 

(This is the one I run on some services)

Normal check interval: 5 min

Retry check interval  : 1 min

Max check attempts: 6

 

 

Something along those lines should do it…Yay for math!

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gavin Cato
Sent: Wednesday, August 09, 2006 12:47 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] controlling notifications a bit better

 

Hi,

 

I want certain hosts/services to only send an email alert if the host/service is down for 10 minutes.

 

I’ve tried playing with max_check_attempts and the other obvious parameters but I still get email alerts after only 1-2mins.

 

Can anyone please show me a sample config snippet or how they do it?

 

Cheers

 

Gav

 

 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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