Recovery notifications with escalations.
Posted: Thu Nov 06, 2014 2:20 pm
Hello everyone,
I wanted to see if anyone has found a resolution to have recovery notifications sent to members who were previously contacted in an escalation policy/chain.
From what I'm reading here, http://nagios.sourceforge.net/docs/3_0/escalations.html, at the tail of the Recovery Notifications section, the escalation code should be smart enough to send the email to the previous group of recipients.
My scenario:
hostescalation policy #1:
For notifications 1-3 I want to generate an email to myself.
hostescalation policy #2:
For notifications 4-forever I want to send to local root (I want only three notifications to be sent and halt thereafter which is why I'm email to a local user account -- Is there a better way??)
Results:
I receive email notifications up to three and then they stop (expected). Looking at the logs, I see after three the notifications are then sent to root (expected).
But when a recover occurs after the three notifications, the recovery notification is not sent to my email and sent only to the local root. Is there a way to make sure the recovery also gets sent to my email?
I can post my configurations if necessary. Any help would be greatly appreciated. Thank you.
Michael (my first post)
I wanted to see if anyone has found a resolution to have recovery notifications sent to members who were previously contacted in an escalation policy/chain.
From what I'm reading here, http://nagios.sourceforge.net/docs/3_0/escalations.html, at the tail of the Recovery Notifications section, the escalation code should be smart enough to send the email to the previous group of recipients.
My scenario:
hostescalation policy #1:
For notifications 1-3 I want to generate an email to myself.
hostescalation policy #2:
For notifications 4-forever I want to send to local root (I want only three notifications to be sent and halt thereafter which is why I'm email to a local user account -- Is there a better way??)
Results:
I receive email notifications up to three and then they stop (expected). Looking at the logs, I see after three the notifications are then sent to root (expected).
But when a recover occurs after the three notifications, the recovery notification is not sent to my email and sent only to the local root. Is there a way to make sure the recovery also gets sent to my email?
I can post my configurations if necessary. Any help would be greatly appreciated. Thank you.
Michael (my first post)