You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure a service to have notification_interval 5 and a unique contact.
Tie two "1:0" escalations ("start on first notification, never end") to the service with notification_interval 10 and 15 respectively, and unique contacts.
The service now has two overlapping escalations, each with unique contacts, as well as its own service-specific contact and notification_interval. Now make the service go CRITICAL.
Expected behavior: Since escalations are active, service settings in regards to contacts and notification intervals should presumably be overridden by what the escalation(s) dictate. The contacts should get notifications at separate intervals, decided by what escalation they belong to (10 or 15 minutes). The service contact and service notification interval should
not be used.
What happens instead: Contacts are correctly taken from the escalations (the service contact is not notified), but the notification_interval is taken from the service, and applied for both of these contacts, instead of the notification_interval specified in the escalation.
Log example, where "CONTACT1" and "CONTACT2" are from the two escalations respectively. Service notifications are sent and logged with a 600 second interval (5 minutes, from the service object).
[1542029872] SERVICE NOTIFICATION: CONTACT1;apanarenapa;ping;CRITICAL;service-notify;CRITICAL - 127.0.0.1: rta 0.012ms, lost 0% :: 1.3.3.7: rta nan, lost 100%
[1542029872] SERVICE NOTIFICATION: CONTACT2;apanarenapa;ping;CRITICAL;service-notify;CRITICAL - 127.0.0.1: rta 0.012ms, lost 0% :: 1.3.3.7: rta nan, lost 100%
[1542030472] SERVICE NOTIFICATION: CONTACT1;apanarenapa;ping;CRITICAL;service-notify;CRITICAL - 127.0.0.1: rta 0.010ms, lost 0% :: 1.3.3.7: rta nan, lost 100%
[1542030472] SERVICE NOTIFICATION: CONTACT2;apanarenapa;ping;CRITICAL;service-notify;CRITICAL - 127.0.0.1: rta 0.010ms, lost 0% :: 1.3.3.7: rta nan, lost 100%
[1542031072] SERVICE NOTIFICATION: CONTACT1;apanarenapa;ping;CRITICAL;service-notify;CRITICAL - 127.0.0.1: rta 0.010ms, lost 0% :: 1.3.3.7: rta nan, lost 100%
[1542031072] SERVICE NOTIFICATION: CONTACT2;apanarenapa;ping;CRITICAL;service-notify;CRITICAL - 127.0.0.1: rta 0.010ms, lost 0% :: 1.3.3.7: rta nan, lost 100%
[1542031672] SERVICE NOTIFICATION: CONTACT1;apanarenapa;ping;CRITICAL;service-notify;CRITICAL - 127.0.0.1: rta 0.010ms, lost 0% :: 1.3.3.7: rta nan, lost 100%
[1542031672] SERVICE NOTIFICATION: CONTACT2;apanarenapa;ping;CRITICAL;service-notify;CRITICAL - 127.0.0.1: rta 0.010ms, lost 0% :: 1.3.3.7: rta nan, lost 100%
[1542032272] SERVICE NOTIFICATION: CONTACT1;apanarenapa;ping;CRITICAL;service-notify;CRITICAL - 127.0.0.1: rta 0.010ms, lost 0% :: 1.3.3.7: rta nan, lost 100%
[1542032272] SERVICE NOTIFICATION: CONTACT2;apanarenapa;ping;CRITICAL;service-notify;CRITICAL - 127.0.0.1: rta 0.010ms, lost 0% :: 1.3.3.7: rta nan, lost 100%
[1542032872] SERVICE NOTIFICATION: CONTACT1;apanarenapa;ping;CRITICAL;service-notify;CRITICAL - 127.0.0.1: rta 0.012ms, lost 0% :: 1.3.3.7: rta nan, lost 100%
[1542032872] SERVICE NOTIFICATION: CONTACT2;apanarenapa;ping;CRITICAL;service-notify;CRITICAL - 127.0.0.1: rta 0.012ms, lost 0% :: 1.3.3.7: rta nan, lost 100%
[1542033472] SERVICE NOTIFICATION: CONTACT1;apanarenapa;ping;CRITICAL;service-notify;CRITICAL - 127.0.0.1: rta 0.020ms, lost 0% :: 1.3.3.7: rta nan, lost 100%
[1542033472] SERVICE NOTIFICATION: CONTACT2;apanarenapa;ping;CRITICAL;service-notify;CRITICAL - 127.0.0.1: rta 0.020ms, lost 0% :: 1.3.3.7: rta nan, lost 100%
So actually the expected behavior is:
Since escalations are active, service settings in regards to contacts and notification intervals should presumably be overridden by what the escalation(s) dictate. The contacts should get notifications at the lowest defined escalation interval (10 min), regardless of what escalation they belong to (10 or 15 minutes) because they are overlapping. The service contact and service notification interval should not be used.
The error in your case is that Naemon does not use the lowest defined escalation interval (10 min) but uses the "original" service notification interval (5 min) instead.
Also I guess the documentation should say "multiple escalation entries for a service" instead of "host" here.
The service now has two overlapping escalations, each with unique contacts, as well as its own service-specific contact and notification_interval. Now make the service go CRITICAL.
Expected behavior: Since escalations are active, service settings in regards to contacts and notification intervals should presumably be overridden by what the escalation(s) dictate. The contacts should get notifications at separate intervals, decided by what escalation they belong to (10 or 15 minutes). The service contact and service notification interval should
not be used.
What happens instead: Contacts are correctly taken from the escalations (the service contact is not notified), but the notification_interval is taken from the service, and applied for both of these contacts, instead of the notification_interval specified in the escalation.
Log example, where "CONTACT1" and "CONTACT2" are from the two escalations respectively. Service notifications are sent and logged with a 600 second interval (5 minutes, from the service object).
Escalations:
Service object:
Template:
OP5 Jira: https://jira.op5.com/browse/MON-11356
The text was updated successfully, but these errors were encountered: