Page 1 of 1

Question - Service Escalation doesn't have service group

Posted: Fri Feb 26, 2016 5:10 pm
by bosecorp
I am trying to make it easier to manage my Nagios environment as it grows. using templates, hostgroups, servicegroups makes management a lot more easy to manage the environment.

I am trying to create a service escalation and instead of picking each service, I would like to select service group. that same existing for hostgroups escalations, where you can select hostgroups, but that doesn't exist in service escalation. my question is why and is there any other way to do it without having to select each service

Re: Question - Service Escalation doesn't have service group

Posted: Sun Feb 28, 2016 10:38 pm
by Box293
I don't think there is in CCM right now.

Looking at this documentation:

https://assets.nagios.com/downloads/nag ... ricks.html
All Services In Multiple Servicegroups:
If you want to create service escalations for all services that belong in one or more servicegroups, you can do use the servicegroup_name directive. The definition below would create service escalations for all services that are members of servicegroups SERVICEGROUP1 through SERVICEGROUPN. All the instances of the service escalation would be identical (i.e. have the same contact groups, notification interval, etc.).

define serviceescalation{
servicegroup_name SERVICEGROUP1,SERVICEGROUP2,...,SERVICEGROUPN
other escalation directives ...
}
Perhaps as a work around you create these service escalations as static configs in the /usr/local/nagios/etc/static/ directory.

I'll get the USA techs to chime in on this as well.

Re: Question - Service Escalation doesn't have service group

Posted: Mon Feb 29, 2016 5:59 pm
by tmcdonald
Yea, I think the devs would need to add this in. I can file a feature request for this if you would like.

Re: Question - Service Escalation doesn't have service group

Posted: Thu Mar 03, 2016 8:38 am
by bosecorp
static config will move me away from the way I am doing templates, host escalations and stuff.

please add this as enhancement request

you can close this ticket

Re: Question - Service Escalation doesn't have service group

Posted: Thu Mar 03, 2016 10:18 am
by lmiltchev
I filed an internal feature request (TASK ID 7923) for adding this functionality. Thank you!