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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]