Issue with Notification Escalation
Posted: Mon Nov 21, 2016 4:02 am
I am trying to configure Host Notification Escalation but its not giving expecting results. Please look into the "/usr/local/nagios/etc/hostescalations.cfg"
define hostescalation {
# config_name escalationlow_lv1
host_name S1_N1V2_SRM_E_Ten_P
hostgroup_name Super Dome Server-I
contact_groups escalation1
first_notification 1
last_notification 3
notification_interval 1
escalation_period 24x7
escalation_options u,r,d,
}
define hostescalation {
# config_name escalationlow1_lv2
host_name S1_N1V2_SRM_E_Ten_P
hostgroup_name Super Dome Server-I
contact_groups escalation1,escalation2
first_notification 4
last_notification 15
notification_interval 1
escalation_period 24x7
escalation_options u,r,d,
}
If I am providing simple notifications using a specific contact group, I am receiving alerts.
If I am not providing a contact group in notification option, I am not receiving alerts
As per the documents provided by Nagios, "Once a notification is escalated, the contact/groups and notification options for the object will be overridden by the escalation's settings. " This is not working in my case.
Kindly help me solve this.
define hostescalation {
# config_name escalationlow_lv1
host_name S1_N1V2_SRM_E_Ten_P
hostgroup_name Super Dome Server-I
contact_groups escalation1
first_notification 1
last_notification 3
notification_interval 1
escalation_period 24x7
escalation_options u,r,d,
}
define hostescalation {
# config_name escalationlow1_lv2
host_name S1_N1V2_SRM_E_Ten_P
hostgroup_name Super Dome Server-I
contact_groups escalation1,escalation2
first_notification 4
last_notification 15
notification_interval 1
escalation_period 24x7
escalation_options u,r,d,
}
If I am providing simple notifications using a specific contact group, I am receiving alerts.
If I am not providing a contact group in notification option, I am not receiving alerts
As per the documents provided by Nagios, "Once a notification is escalated, the contact/groups and notification options for the object will be overridden by the escalation's settings. " This is not working in my case.
Kindly help me solve this.