#############################################################################################
# ICINGA TEST CONFIG BY ISSUES
# (c) 2009-2015 Icinga Development Team
#
# #2647
# Object Inheritance and Important values
#############################################################################################


define host{
        host_name               	2647localhost
        display_name            	2647display_localhost
        alias                   	2647localhost
        address                 	127.0.0.1
	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
}

define command{
        command_name                    2647check_icinga
        command_line                    ICINGA=R0XX /usr/bin/env >> /tmp/2647_icinga.$TIMET$.env 
}

define service {
	service_description             2674check_icinga_env_variable_command
	host_name			2647localhost
	check_command			2647check_icinga
	max_check_attempts              3
	check_interval                  7
	retry_interval                  3
	active_checks_enabled           1
	obsess_over_service             0
	check_freshness                 1
	event_handler_enabled           0
	notification_interval           10
}
