Re: Host Escalations
Posted: Tue Jun 03, 2014 3:07 pm
The only problem I have with that fix is that if the host goes down, not unreachable, then the recovery won't be sent to robertsa.
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
define hostescalation {
host_name TestUnknown124,TestUnknown125
contacts rentsys,robertsa
first_notification 1
last_notification 0
notification_interval 0
escalation_period 24x7
escalation_options u,d,r
}
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,r
}
define hostescalation {
host_name TestUnknown124,TestUnknown125
contacts robertsa
first_notification 1
last_notification 0
notification_interval 0
escalation_period 24x7
escalation_options d,r
}
Correct, this is why most people will add the original contact to the escalation as well as the new contacts. This is also described in the first paragraph of the Contact Groups section on page 2 of this documentrentsys wrote:I thought only the contacts that are escalated will get the alert.
Code: Select all
define hostescalation {
host_name Host1,Host2
contacts contact2
first_notification 1
last_notification 0
notification_interval 0
escalation_period 24x7
escalation_options u,
}The "robertsa" seems to be escalated...robertsa, who is not escalated, gets the recovery alert.
Code: Select all
define hostescalation {
host_name TestUnknown124,TestUnknown125
contacts robertsa
first_notification 1
last_notification 0
notification_interval 0
escalation_period 24x7
escalation_options d,r
}