Page 1 of 1
Escalation Wizard - Service Groups?
Posted: Wed Nov 29, 2017 5:48 pm
by JDTAY
Hiya
Am I missing something with the Escalation Wizard? From what I can see in the Wizard, you can select individual hosts or groups in the Hosts option. But the same option in Services only shows individual services, I cannot choose groupings?
Screenshots attached.
Thank you
Jonathon
Re: Escalation Wizard - Service Groups?
Posted: Thu Nov 30, 2017 10:33 am
by kyang
It currently isn't available, I could put in a feature request if you would like?
Otherwise, the only way would be what is listed. ctrl+click to grab multiple services.
Re: Escalation Wizard - Service Groups?
Posted: Thu Nov 30, 2017 6:43 pm
by JDTAY
Hiya Kyang
A feature request would be great, thank y ou.
Are there any easier ways for grouping up multiple services for escalations alerts? Either through manually editing the config files or similar?
We've got several hundred services all related to a production web stack, and there's a few other services (groups of) that I want to monitor as well but they're much a little smaller in size. Amending all of their escalations via the wizard could be a bit of a challenge.
Warm regards;
JT
Re: Escalation Wizard - Service Groups?
Posted: Thu Nov 30, 2017 11:20 pm
by JDTAY
Ah, I see that the feature does exist but it's not in the GUI. You can still target services on all host groups (fortunately mine are grouped in identical groupings between servicegroups and hostgroups). So I can achieve the same thing by targeting a hostgroup in the serviceescalations.cfg file and using a wildcard * for service_description.
https://assets.nagios.com/downloads/nag ... ricks.html
All Hosts In Multiple Hostgroups:
If you want to create service escalations for services of the same name/description that are assigned to all hosts in in one or more hostgroups, you can do use the hostgroup_name directive. The definition below would create a service escalation for services called SOMESERVICE on all hosts that are members of hostgroups HOSTGROUP1 through HOSTGROUPN. All the instances of the service escalation would be identical (i.e. have the same contact groups, notification interval, etc.).
define serviceescalation{
hostgroup_name HOSTGROUP1,HOSTGROUP2,...,HOSTGROUPN
service_description SOMESERVICE
other escalation directives ...
}
Re: Escalation Wizard - Service Groups?
Posted: Fri Dec 01, 2017 9:58 am
by lmiltchev
Ah, I see that the feature does exist but it's not in the GUI. You can still target services on all host groups (fortunately mine are grouped in identical groupings between servicegroups and hostgroups). So I can achieve the same thing by targeting a hostgroup in the serviceescalations.cfg file and using a wildcard * for service_description.
You have this option in the CCM but not in the Escalation wizard (CCM > Alerting > Service Escalations). When you click on "Manage Services" under the "Service Escalation Management" page, you will find the asterisk on the bottom of the services list. Select it, and click on "Add Selected" to assign all services.
Example:
example01.PNG
Code: Select all
define serviceescalation {
# config_name test
hostgroup_name linux-servers,mac-servers,network-devices,websites
service_description *
...
}
FYI, I have filed two feature requests for adding this functionality, which are currently pending approval.
Let us know if you have any more questions or it is ok to close this topic. Thank you!