servicegroup definition

Matthias Eble PsychoTrahe at gmx.de
Mon Dec 21 20:46:32 CET 2009


Hi Ingo,

> We would like to create a servicegroup definition in the form of
> 
> members +hostgroup_name,service_name
> 
> but using of hostgroups instead of single hosts seems not to work.
> (Error Could not expand member services specified in servicegroup)

You can assign the servicegroup(s) in the service definition directly.

define service {
...
	servicegroups	apache_webservices
	hostgroup_name	generic_apache_servers[,others]
}

Note that if you have the service assigned to multiple hostgroups (like
above's others) and you want only generic_apache_servers' apaches in the
servicegroup you'll need another service definition.

But nagios-users is definitely the better list to ask configuration
questions.

Matthias



------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 




More information about the Developers mailing list