Recovery notification

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hqin
Posts: 28
Joined: Thu Oct 11, 2012 8:16 am

Recovery notification

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Recovery notification

Post by slansing »

Hosts are the only objects that can "recover" perhaps you were looking at your service notifications and not your host ones?
hqin
Posts: 28
Joined: Thu Oct 11, 2012 8:16 am

Re: Recovery notification

Post 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?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Recovery notification

Post 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.
hqin
Posts: 28
Joined: Thu Oct 11, 2012 8:16 am

Re: Recovery notification

Post by hqin »

Thanks. Let me see if it works.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Recovery notification

Post by sreinhardt »

ok let us know!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked