Page 1 of 1

first_notification_delay working.

Posted: Mon Dec 17, 2012 1:48 am
by vedaprasad
all,

i have a slight confusion with first notification delay , assuming these are the attributes i have set to a service

check_interval=5
retry_interval=3
max_check_attempt=3.
first_notification_delay=10

assuming the service went to non-OK state , and has checked for the service 3 times ( as mentioned in max_check_attempt ) for every 3 min ( as mentioned in retry_interval ) and it is still non-OK state , and the notification is delayed for 10 min .so what happens between these 10 mins , nagios does not check anything ? what if the service went to OK state , in this 10 mins , does the notification sill sent even if the service has recovered and in soft OK state ??

Re: first_notification_delay working.

Posted: Mon Dec 17, 2012 9:28 pm
by scottwilkerson
Nagios does continue to check. If the service recovers before the first_notification_delay then a notification will not be sent.

One thing to note, the delay time starts from the time of the last known OK state, so in your example it would have no effect as you would already be 11 minutes before max_check_attempts was reached.