Service notification delay not working


#1

Hello,

I’m new to this but I can not seem to find an answer why the service notifications are send every time the check has runned.
I’m running nagios 3.0.6 with Centreon 2.0 as frontend but I do not think it’s the cause of the problem.
When debugging I get:
1st check:
[1231318436.536072] [032.0] [pid=32656] ** Service Notification Attempt ** Host: ‘host’, Service: ‘SNMP_NORTEL_PORTCHECK’, Type: 0, Options: 0, Current State: 2, Last Notification: Thu Jan 1 01:00:00 1970
[1231318436.536116] [032.0] [pid=32656] Notification viability test passed.
[1231318436.536125] [032.1] [pid=32656] Current notification number: 1 (incremented)
[1231318436.536143] [032.1] [pid=32656] Service notification WILL be escalated.
[1231318436.536155] [032.1] [pid=32656] Adding contacts from service escalation(s) to notification list.
[1231318437.697104] [032.0] [pid=32656] 3 contacts were notified. Next possible notification time: Wed Jan 7 11:53:56 2009
[1231318437.697140] [032.0] [pid=32656] 3 contacts were notified.

2nd check:
[1231318789.543813] [032.0] [pid=32656] ** Service Notification Attempt ** Host: ‘host’, Service: ‘SNMP_NORTEL_PORTCHECK’, Type: 0, Options: 0, Current State: 2, Last Notification: Wed Jan 7 09:53:56 2009
[1231318789.543857] [032.0] [pid=32656] Notification viability test passed.
[1231318789.543867] [032.1] [pid=32656] Current notification number: 2 (incremented)
[1231318789.543885] [032.1] [pid=32656] Service notification WILL be escalated.
[1231318789.543899] [032.1] [pid=32656] Adding contacts from service escalation(s) to notification list.
[1231318790.558169] [032.0] [pid=32656] 3 contacts were notified. Next possible notification time: Wed Jan 7 11:59:49 2009
[1231318790.558205] [032.0] [pid=32656] 3 contacts were notified.

The normal escalation should be every 120 min, I have the same escalation for hosts and is is working very well.
Even when I use the delay notification function of nagios it will send it every time the check runs.
Does anybody have an idea?
If you need my configs let me know, then I will post the requested one asap.
Thanks for your time

Kind Regards


#2

I’m not quite sure what is the real problem? I assume you don’t want to be renotified every time the check is done, but only when your notification period exceeds.
If you have Critical service state and you receive the notification, and thenb the second check is done, but you get the notification again, and it didn’t wait for notification period to expire, then you probably have enabled volatile services. Turn that off for the particular service or for every one if you don’t need that option, and see if it helps.
Otherwise post the service definition (with the template definition if you use it), service escalation definition and everything related to that service so we could see where the problem is.