Page 2 of 2
Re: Configuring Escalations (question about contacts)
Posted: Tue Jul 05, 2016 11:17 am
by lmiltchev
This does not answer my question: should we be removing host-level contacts when creating escalations instead?
No, you shouldn't be removing your contacts from the host/host template.
Do I set host "Alert Settings" Notifications enabled to "off" while assigning notifications (and escalations) to Services?
No, if you disable notifications, escalations won't work either.
Try setting up 3 escalations, similar to these:
Code: Select all
define serviceescalation{
host_name webserver
service_description HTTP
first_notification 1
last_notification 1
notification_interval 90
contact_groups group1
}
define serviceescalation{
host_name webserver
service_description HTTP
first_notification 2
last_notification 5
notification_interval 90
contact_groups group2
}
define serviceescalation{
host_name webserver
service_description HTTP
first_notification 6
last_notification 0
notification_interval 90
contact_groups group1,group3
}
Let us know if this helped.
Re: Configuring Escalations (question about contacts)
Posted: Tue Jul 05, 2016 12:16 pm
by dlukinski
lmiltchev wrote:This does not answer my question: should we be removing host-level contacts when creating escalations instead?
No, you shouldn't be removing your contacts from the host/host template.
Do I set host "Alert Settings" Notifications enabled to "off" while assigning notifications (and escalations) to Services?
No, if you disable notifications, escalations won't work either.
Try setting up 3 escalations, similar to these:
Code: Select all
define serviceescalation{
host_name webserver
service_description HTTP
first_notification 1
last_notification 1
notification_interval 90
contact_groups group1
}
define serviceescalation{
host_name webserver
service_description HTTP
first_notification 2
last_notification 5
notification_interval 90
contact_groups group2
}
define serviceescalation{
host_name webserver
service_description HTTP
first_notification 6
last_notification 0
notification_interval 90
contact_groups group1,group3
}
Let us know if this helped.
OK so this leaves me with keeping contacts, but setting initial notification interval to once in 6-12 hours, where
my escalations would be 1-2 hours as required initially? OR Escalation would overwrite templated notification interval anyways?
Our issue is that same people should see the hosts and get notifications, but escalations would be divided in between this group of people..
Re: Configuring Escalations (question about contacts)
Posted: Tue Jul 05, 2016 12:35 pm
by lmiltchev
OR Escalation would overwrite templated notification interval anyways?
This is correct. The escalation will overwrite the notification interval set on a host/service level.
Quote from our documentation:
Notification Intervals
You can change the frequency at which escalated notifications are sent out for a particular host or service by using the notification_interval option of the hostgroup or service escalation definition.
https://assets.nagios.com/downloads/nag ... tions.html
Re: Configuring Escalations (question about contacts)
Posted: Wed Jul 20, 2016 8:14 am
by dlukinski
Please close this one, I think we are good for now
Re: Configuring Escalations (question about contacts)
Posted: Wed Jul 20, 2016 9:16 am
by mcapra
Closing this per your request. Feel free to open another thread if this issue persists!