Notification delay issues

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
c.slagel
Posts: 57
Joined: Mon Dec 17, 2012 6:47 pm

Notification delay issues

Post by c.slagel »

Having an issue where I'm getting text alerts when I'm pretty sure the notification delays should prevent this from happening. We have a restart service event handler and a notification delay in place to allow for the restart to complete before notifying us of a down service. However still getting alerts for these services then a recovery message shortly after. Here's the alert:
photo 1.PNG
Then I get a recovery like 6 minutes later.

Here's the settings for the service:
servicesettings.png
And then the host on which the service resides, with the notification delay:
Screen Shot 2014-03-10 at 12.17.23 PM.png

I've even upped the delay to see if it would stop, and it doesn't. This happens with many services on many hosts, configured the same as this. Any insight as to why I get these alerts would be appreciated. Thanks!
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Notification delay issues

Post by lmiltchev »

What happens when you set "first_notification_delay = 15" on the service itself?
Be sure to check out our Knowledgebase for helpful articles and solutions!
c.slagel
Posts: 57
Joined: Mon Dec 17, 2012 6:47 pm

Re: Notification delay issues

Post by c.slagel »

I have not tried this as there are many services on each host and updating all of them would take quite some time. I was under the assumption that "skip" meant that the service inherited the preferences from the host, as there aren't even notification contacts assigned to services, only the hosts themselves.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Notification delay issues

Post by lmiltchev »

Actually, the "first notification delay" should be inherited from the service template that is in use (if not specified locally, on the service level).
Go to CCM->Services->View Text Config, to view the config. See what is the service template that is in use (the "use" directive), for example:

Code: Select all

use				xiwizard_website_http_service
Note: There may be a few "layers" of templates. Keep in mind that modifying the template will affect ALL of the services that use it.
Be sure to check out our Knowledgebase for helpful articles and solutions!
c.slagel
Posts: 57
Joined: Mon Dec 17, 2012 6:47 pm

Re: Notification delay issues

Post by c.slagel »

OK, so all of these are content monitors, so they are using xiwizard_website_http_content_service

Went into CCM-templates-service templates and made the FND 20 minutes (there's a 3 min delay between stop and start on the event handler, plus a 2 min grace period) for xiwizard_website_http_content_service.

This should fix my issue?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Notification delay issues

Post by slansing »

If the rest of the settings are correct for what you are trying to do, it should be fine.
c.slagel
Posts: 57
Joined: Mon Dec 17, 2012 6:47 pm

Re: Notification delay issues

Post by c.slagel »

OK, in place since last night and so far so good... I'll keep an eye on it and if I don't get any false alerts in the next couple days I'll assume this fixed it.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Notification delay issues

Post by slansing »

Great, we'll keep the thread open.
Locked