Configuring Escalations (question about contacts)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Configuring Escalations (question about contacts)

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Configuring Escalations (question about contacts)

Post 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..
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Configuring Escalations (question about contacts)

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Configuring Escalations (question about contacts)

Post by dlukinski »

Please close this one, I think we are good for now
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Configuring Escalations (question about contacts)

Post by mcapra »

Closing this per your request. Feel free to open another thread if this issue persists!
Former Nagios employee
https://www.mcapra.com/
Locked