#############################################################################################
# ICINGA TEST CONFIG BY ISSUES
# (c) 2009-2015 Icinga Development Team and Community Contributors
#
# #2546
# when using ssh (or check-by-ssh) with ControlMaster/ControlPersist, icinga times out the first time and one gets zombie processes
# requires src/forker.c compiled and in /etc/icinga/tests
#############################################################################################

### host

define host{
	name				2546fork-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
	register			0
}

define host{
        use                     	2546fork-server
        host_name               	2546localhost_forker
        address                 	127.0.0.1
}


define command {
	command_name 			check_fork
   	command_line 			/etc/icinga/tests/forker
}

define service {
	name                            2546fork-servicecheck
	host_name			2546localhost_forker
	service_description             2546 forker test
	check_command                   check_fork
	max_check_attempts              3
	check_interval                  1
	retry_interval                  1
	active_checks_enabled           1
	check_period                    testconfig-24x7
	obsess_over_service             0
	check_freshness                 1
	event_handler_enabled           0
	notification_interval           10
}

