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
Recovery notification
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Recovery notification
Hosts are the only objects that can "recover" perhaps you were looking at your service notifications and not your host ones?
Re: Recovery notification
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
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.
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
Thanks. Let me see if it works.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Recovery notification
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.