Page 1 of 1
Apply a service escalation to a service template?
Posted: Thu Sep 08, 2016 1:56 pm
by mazeman
Hi Everyone,
Is it possible in XI to apply a service escalation to a service template? From the web UI, it doesn't seem possible. I'm currently running XI 2.5.1 {correction v 5.2.1}
Thanks!
-Kevin
Re: Apply a service escalation to a service template?
Posted: Thu Sep 08, 2016 2:09 pm
by Box293
Not directly to a template.
However if the escalation was assigned to hostgroup, then any host that is a member of that hostgroup should get the escalation.
Re: Apply a service escalation to a service template?
Posted: Thu Sep 08, 2016 4:15 pm
by mazeman
Thanks Troy,
Is there a way I can apply the service escalation to only a certain set of services on the hosts in the hostgroup? For example, I'm monitoring a group of Windows servers and only want to escalate notifications of Windows service stoppages, not CPU, disk, memory, etc. To make it bit more interesting, my hosts/services configs live in the /static directory as the config files are generated by an Octopus code deployment process. To keep flexibility, I'm trying to utilize templates within CCM, so potential monitoring changes don't involve regenerating the static host/service configs. I hope this all makes sense...
Thanks!
-Kevin
Re: Apply a service escalation to a service template?
Posted: Thu Sep 08, 2016 4:55 pm
by Box293
https://assets.nagios.com/downloads/nag ... escalation
A service escalation requires the service name(s) to be defined. So as long as all those hosts have the exact same service definition then it should work, using a common service assigned to the same hostgroup would ensure this.
mazeman wrote:To make it bit more interesting, my hosts/services configs live in the /static directory as the config files are generated by an Octopus code deployment process. To keep flexibility, I'm trying to utilize templates within CCM, so potential monitoring changes don't involve regenerating the static host/service configs.
Mixing CCM and static configs can be hard. You probably want the escalations to be defined as a static file instead of in CCM as I'm not sure CCM will like it if it can't find the objects (it doesn't know about the static files).