On 2013-02-07 14:09, Michael Friedrich wrote: > On 07.02.2013 12:59, Franky Van Liedekerke wrote: >> Hi, >> >> for a specific service, one can define the hostgroups like this: >> >> hostgroup_name groupA,groupB,!groupC >> >> which means: all hosts in group A or B, but none of those in group C >> >> Now the question: >> I have all servers in devel, qual and prod groups, some of those are >> also in a group webservers for which I want the same services. Some >> checks need different options between dev, qual and prod, so I >> created >> different commands for those. > > i assume you are using the hostgroup->services + host trick here?
I'm not really sure what you mean here ... I just created a different command in command.cfg, and in the service config I use the same name but linked to different hostgroups. But my question below remains of course :-) >> >> Now, how can I say that I want a specific service to be executed for >> all hosts that are in group devel and are also in group webservers >> (the >> intersection of the 2 groups)? >> >> Something like: >> >> hostgroup_name groupA+groupB >> >> would be nice to have ... >> Franky ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ icinga-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/icinga-devel
