Host Escalations
Posted: Fri May 30, 2014 10:40 am
I am setting up Host Escalations so that my clients wont be notified when my network goes down.
I have it so they do not get alerts when the host state is unreachable.
The thing is that they get alerted when the host comes back up, but there device never actually went down.
I read about Host Escalations, and it seems to be what I need.
I found this when reading about Escalations. http://nagios.sourceforge.net/docs/3_0/escalations.html
The contact assigned to TestUnknown124 and TestUnknown125 is robertsa
TestUnknown124 is the parent of TestUnknown125.
I bring both devices down to simulate a network outage.
TestUnknown124 goes down and TestUnknown125 goes unreachable.
The host escalation works.
There is a down email sent to robertsa and an unreachable email sent to rentsys.
The problem is that when I bring TestUnknown124 and TestUnknown125 back up it emails robertsa that they are both back up.
Instead of sending an up email for TestUnknown124 to robertsa and an up email for TestUnknown125 to rentsys.
I am running 2014 Production.
Did I set it up correctly?
I have it so they do not get alerts when the host state is unreachable.
The thing is that they get alerted when the host comes back up, but there device never actually went down.
I read about Host Escalations, and it seems to be what I need.
I found this when reading about Escalations. http://nagios.sourceforge.net/docs/3_0/escalations.html
I made thisIf, after three problem notifications, a recovery notification is sent out for the service, who gets notified? The recovery is actually the fourth notification that gets sent out. However, the escalation code is smart enough to realize that only those people who were notified about the problem on the third notification should be notified about the recovery. In this case, the nt-admins and managers contact groups would be notified of the recovery.
Code: Select all
define hostescalation {
host_name TestUnknown124,TestUnknown125
contacts rentsys
first_notification 1
last_notification 0
notification_interval 0
escalation_period 24x7
escalation_options u,
}
TestUnknown124 is the parent of TestUnknown125.
I bring both devices down to simulate a network outage.
TestUnknown124 goes down and TestUnknown125 goes unreachable.
The host escalation works.
There is a down email sent to robertsa and an unreachable email sent to rentsys.
The problem is that when I bring TestUnknown124 and TestUnknown125 back up it emails robertsa that they are both back up.
Instead of sending an up email for TestUnknown124 to robertsa and an up email for TestUnknown125 to rentsys.
I am running 2014 Production.
Did I set it up correctly?