Page 1 of 1

Recovery notification

Posted: Mon Nov 25, 2013 10:54 am
by hqin
I am not sure how notification in Nagios XI was designed to send notifications for host/service recovery. However, I found notifications are always sent a few minutes late after host/service has recovered. I guess Nagios does a few checks to make sure it's really recoverd before sending notifications. My question is - can I configure Nagios XI to send notifications immediately when host/service is recovered?

Thanks

Re: Recovery notification

Posted: Mon Nov 25, 2013 10:57 am
by slansing
Hosts are the only objects that can "recover" perhaps you were looking at your service notifications and not your host ones?

Re: Recovery notification

Posted: Mon Nov 25, 2013 11:29 am
by hqin
I don't understand. both host and service management have "alert settings" and from there you can configure if Nagios sends notifications for "Recovery" in "Notification options". I just need to know if it can send notifications immediately on recovery of no matter host or service. Is "check interval" the only way to do this?

Re: Recovery notification

Posted: Mon Nov 25, 2013 11:52 am
by slansing
Ah semantics, I meant that services switch to just plain OK:

http://nagios.sourceforge.net/docs/3_0/ ... ml#service

Make sure that you do not have "first_notification_delay" set, and to send the notifications immediately, you would want to set "max_check_attempts" to 1.

Re: Recovery notification

Posted: Mon Nov 25, 2013 5:26 pm
by hqin
Thanks. Let me see if it works.

Re: Recovery notification

Posted: Mon Nov 25, 2013 5:47 pm
by sreinhardt
ok let us know!