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 »

So here's my situation:

a service enters a hard state after 3 checks, and then it triggers an event handler to restart the service on its host.

I have an initial notification delay in place so that I don't get alerted unless the restart fails to bring the service back to a stable state.

However, very often (not always) Nagios ignores the delay and triggers the notification as soon as the service enters a hard state, then I get the recovery notification shortly after.

Any input on how to fix this? It's pretty annoying to get so many false positives.

Thanks!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Notification delay issues

Post by slansing »

How far out is your notification delayed? It is possible the event handler is running into latency issues at times.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Notification delay issues

Post by scottwilkerson »

One thing to also note is that the notification delayed time starts from the time of the last known OK state, not from the time the object first went down.

Often people make the mistake of setting the notification delay of too low a number, it must be longer than

Code: Select all

check_interval + (max_check_attempts * retry_interval)


to have any affect at all...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
c.slagel
Posts: 57
Joined: Mon Dec 17, 2012 6:47 pm

Re: Notification delay issues

Post by c.slagel »

Latency might be an issue, but as far as timing we should only need a total of 17 minutes and the delay is set to 22, so that shouldn't be an issue... Next time it triggers I'll screen shot specific settings and share to give a better picture.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Notification delay issues

Post by abrist »

Great, we await your findings.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked