#############################################################################################
# ICINGA TEST CONFIG BY ISSUES
# (c) 2009-2015 Icinga Development Team and Community Contributors
#
# #1974 (ido)
# change standard string escaping for postgresql queries to use the E'foo' notation
#############################################################################################

define host{
        name                            1974linux-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
        register                        0
}

define host{
        use                     	1974linux-server            ; Name of host template to use
        host_name               	1974_localhost
        alias                   	1974_localhost
        display_name            	1974_localhost
        address                 	127.0.0.1
        action_url              	http://wiki/.../SvcView?hostgroup=$HOSTGROUPNAME$&hostname=$HOSTNAME$
	check_command			print_escape_string
}

define command {
	command_name			print_escape_string
	command_line 			$USER1$/check_dummy 2 "abc \\c\widoze's\foo&"
}
