It's not a template and is definitely not empty.

It's pretty easy.  Create two hostgroups with hosts in them.  Then create a 
third hostgroup with hostgroup members where one of them is included, and the 
other excluded.
Notice that the error says "could not find group '!hostgroupC', as if it 
doesn't know how to handle exclusions in the hostgroup_members line.

-Lori

From: Wolfgang [mailto:w...@gmx.net]
Sent: Tuesday, May 15, 2012 9:33 AM
To: icinga-users@lists.sourceforge.net
Subject: Re: [icinga-users] nested hostgroups

Am 15.05.2012 18:09, schrieb Lori Adams:
Icinga 1.4.0

Is it true that I cannot do a hostgroup exclusion while attempting nested 
hostgroups?
define hostgroup {
                hostgroup_name foo
                hostgroup_members hostgroupA,hostgroupB,!hostgroupC
                }

Error: Could not find member group '!hostgroupC' specified in hostgroup

Any chance that this has been corrected in a newer version.  I'm aware that 
1.6.0 is out.

Lori Adams
Director of Operations Architecture
Cloudmark
510 388 8513 (M)

I cannot confirm your problem so please verify that hostgroupC exists (and is 
not a template or maybe an empty hostgroup).
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to