#############################################################################################
# ICINGA TEST CONFIG BY ISSUES
# (c) 2009-2015 Icinga Development Team
#
# #4534
# nested hostgroups exclusions
#############################################################################################


define host{
	name				4534linux-server
	use				test-generic-host
	check_period			testconfig-24x7
	check_interval			5
	retry_interval			1
	max_check_attempts		10
        check_command           	testconfig-check-host-alive
	notification_period		testconfig-workhours
	notification_interval		120
	notification_options		d,u,r
	contact_groups			testconfig-group-admin
        address                 	127.0.0.1
	register			0
}

define host{
        use                     	4534linux-server
        host_name               	4534serverA
}

define host{
        use                     	4534linux-server
        host_name               	4534serverB
}

define host{
        use                     	4534linux-server
        host_name               	4534serverC
}

define hostgroup {
     	hostgroup_name  		4534hostgroupA
     	members         		4534serverA,4534serverB
}

define hostgroup {
	hostgroup_name  		4534hostgroupB
	members         		4534serverC,!4534serverA
}

define hostgroup {
	hostgroup_name  		4534hostgroupC
	hostgroup_members  		4534hostgroupA,4534hostgroupB
}

