Escalation Wizard - Service Groups?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
JDTAY
Posts: 10
Joined: Mon Aug 21, 2017 12:17 am

Escalation Wizard - Service Groups?

Post 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
You do not have the required permissions to view the files attached to this post.
kyang

Re: Escalation Wizard - Service Groups?

Post 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.
JDTAY
Posts: 10
Joined: Mon Aug 21, 2017 12:17 am

Re: Escalation Wizard - Service Groups?

Post 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
JDTAY
Posts: 10
Joined: Mon Aug 21, 2017 12:17 am

Re: Escalation Wizard - Service Groups?

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

Re: Escalation Wizard - Service Groups?

Post 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!
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked