#############################################################################################
# ICINGA TEST CONFIG BY ISSUES
# (c) 2009-2015 Icinga Development Team and Community Contributors
#
# #2913
# with empty hostgroups, $HOSTGROUPMEMBERS$ returns garbage
#############################################################################################

define hostgroup {
        hostgroup_name  		2913linux-servers
        alias   			2913 Linux Servers
#        members 			2913localhost
}

define command{
	command_name			2913macrotest
	command_line			/bin/echo $HOSTGROUPMEMBERS:2913linux-servers$
}

define host {
        host_name       		2913localhost
        alias   			2913localhost
        address 			127.0.0.1
        check_period    		testconfig-24x7
        check_command   		2913macrotest
        contact_groups  		testconfig-group-admin
        notification_period     	testconfig-workhours
        initial_state   		o
        check_interval  		5.000000
        retry_interval  		1.000000
        max_check_attempts      	10
        active_checks_enabled   	1
        passive_checks_enabled  	1
        obsess_over_host        	1
        event_handler_enabled   	1
        low_flap_threshold      	0.000000
        high_flap_threshold     	0.000000
        flap_detection_enabled  	1
        flap_detection_options  	o,d,u
        freshness_threshold     	0
        check_freshness 		0
        notification_options    	d,u,r
        notifications_enabled   	1
        notification_interval   	120.000000
        first_notification_delay        0.000000
        stalking_options        	n
        process_perf_data       	1
        failure_prediction_enabled      1
        retain_status_information       1
        retain_nonstatus_information    1
}

define servicegroup {
        servicegroup_name               2913servicegroup
        alias                           2913 Service Group
        #members                                2913localhost,2913service
}

define command{
        command_name                    2913macrotest2
        command_line                    /bin/echo $SERVICEGROUPMEMBERS:2913servicegroup$
}


define service {
        service_description             2913service
        host_name                       2913localhost
        check_command                   2913macrotest2
        use                             test-generic-service
}

