define servicegroup {
	servicegroup_name	sv1
	alias	testsv1
	members	hosta,servicea1,hostb,serviceb1,hostc,servicec1
}

define servicegroup {
	servicegroup_name	a1
	alias	testsa1
	members	hosta,servicea1
}

define servicegroup {
	servicegroup_name	b2
	alias	testsb2
	members	hostb,serviceb2
}

define servicegroup {
	servicegroup_name	sv2
	alias	testsv2
	members	hosta,servicea2,hostb,serviceb2,hostc,servicec2
}

define hostgroup {
	hostgroup_name	all-hosts
	alias	All hosts
	members	hosta,hostb,hostc
}

define hostgroup {
	hostgroup_name	exc-hostb
	alias	Excluded host b
	members	hosta,hostc
}

define host {
	host_name	hosta
	alias	hosta
	address	127.0.0.5
	parents	hosta
	check_period	24x7
	check_command	check-host-alive
	contact_groups	admins
	notification_period	workhours
}

define host {
	host_name	hostb
	alias	hostb
	address	127.0.0.5
	parents	hostb
	check_period	24x7
	check_command	check-host-alive
	contact_groups	admins
	notification_period	workhours
}

define host {
	host_name	hostc
	alias	hostc
	address	127.0.0.5
	parents	hostc
	check_period	24x7
	check_command	check-host-alive
	contact_groups	admins
	notification_period	workhours
}

define service {
	host_name	hosta
	service_description	servicea1
	check_period	24x7
	check_command	check_icinga_startup_delay
}

define service {
	host_name	hosta
	service_description	servicea2
	check_period	24x7
	check_command	check_icinga_startup_delay
}
define service {
	host_name	hosta
	service_description	servicea3
	check_period	24x7
	check_command	check_icinga_startup_delay
}
define service {
	host_name	hostb
	service_description	serviceb1
	check_period	24x7
	check_command	check_icinga_startup_delay
}
define service {
	host_name	hostb
	service_description	serviceb2
	check_period	24x7
	check_command	check_icinga_startup_delay
}
define service {
	host_name	hostb
	service_description	serviceb3
	check_period	24x7
	check_command	check_icinga_startup_delay
}
define service {
 	host_name	hostc
 	service_description	servicec1
 	check_period	24x7
 	check_command	check_icinga_startup_delay
 }
define service {
 	host_name	hostc
 	service_description	servicec2
 	check_period	24x7
 	check_command	check_icinga_startup_delay
 }
define service {
 	host_name	hostc
 	service_description	servicec3
 	check_period	24x7
 	check_command	check_icinga_startup_delay
 }
