define host {
	host_name host1
	alias	host1 test
	address	127.0.0.1
	max_check_attempts 2
	check_period	24x7
	check_interval	5
	retry_interval	1
	check_command	check_me
	contacts	nagiosadmin
	notification_interval 60
	notification_period none
}

define host {
	host_name host2
	alias	host2 test
	address	127.0.0.1
	max_check_attempts 2
	check_period	24x7
	check_interval	5
	retry_interval	1
	check_command	check_me
	contacts	nagiosadmin
	notification_interval 60
	notification_period none
}

define host {
	host_name host3
	alias	host3 test
	address	127.0.0.1
	max_check_attempts 2
	check_period	24x7
	check_interval	5
	retry_interval	1
	check_command	check_me
	contacts	nagiosadmin
	notification_interval 60
	notification_period none
}

define host {
	host_name host4
	alias	host4 test
	address	127.0.0.1
	max_check_attempts 2
	check_period	24x7
	check_interval	5
	retry_interval	1
	check_command	check_me
	contacts	nagiosadmin
	notification_interval 60
	notification_period none
}

define service {
	host_name	host1,host2,host3,host4
	service_description svc
	check_command	check_me
	max_check_attempts	3
	check_interval	32
	retry_interval	1
	check_period	24x7
	notification_interval	60
	notification_period	none
	contacts	nagiosadmin
}

define service {
	host_name	host1,host2,host3,host4
	service_description svc2
	check_command	check_me
	max_check_attempts	3
	check_interval	32
	retry_interval	1
	check_period	24x7
	notification_interval	60
	notification_period	none
	contacts	nagiosadmin
}

define command {
	command_name	check_me
	command_line	/usr/local/nagios/libexec/check_me
}

define timeperiod {
	timeperiod_name	none
	alias	Nothing
}

define timeperiod {
	timeperiod_name 24x7
	alias 24x7 base on weekdays
	monday	00:00-24:00
	tuesday	00:00-24:00
	wednesday	00:00-24:00
	thursday	00:00-24:00
	friday	00:00-24:00
	saturday	00:00-24:00
	sunday	00:00-24:00
}

define contact {
	contact_name	nagiosadmin
	host_notifications_enabled	0
	service_notifications_enabled	0
	host_notification_period	none
	service_notification_period	none
	host_notification_options	d,u,f,r,s
	service_notification_options	w,u,c,r,f,s
	host_notification_commands	notify-none
	service_notification_commands	notify-none
}

define command {
	command_name	notify-none
	command_line /usr/local/nagios/notifications/notify-none
}
