[icinga-devel] combined hostgroups

Michael Friedrich michael.friedrich at gmail.com
Thu Feb 7 14:09:52 CET 2013


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?

>
> 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
> icinga-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-devel


-- 
DI (FH) Michael Friedrich

mail:     michael.friedrich at gmail.com
twitter:  https://twitter.com/dnsmichi
jabber:   dnsmichi at jabber.ccc.de
irc:      irc.freenode.net/icinga dnsmichi

icinga open source monitoring
position: lead core developer
url:      https://www.icinga.org




More information about the icinga-devel mailing list