Is there a way to use a hostgroup in a service definition?
I am already group hosts, like servers together, I wondered if I can use these hostgroups in a service definition..so that all my servers have a disk check against them without having to list each one on the memebers line.
not sure, never tried.. but if the group is defined just copy and paste the hostnames... or use some free macros, but i'm not not sure if this works either, it SHOULD.
Luca Edited Tue Jan 31 2006, 09:42AM ]
I've never tried it, but others have said YES, it does work.You define a group with all your hosts that you wish, and then use that in the definition. Instead of "host_name" you would use "hostgroup_name" in services.cfg file.