#############################################################################################
# ICINGA TEST CONFIG BY ISSUES
# (c) 2009-2013 Icinga Development Team and Community Contributors
#
# #2470 (web issue)
# object info - relations - hostgroups in hoststatus only show one item
#############################################################################################


define command {
        command_name                    2470check_multi
        command_line                    $USER1$/check_multi -l /opt/nagios/libexec -s HOSTADDRESS=$HOSTADDRESS$ -s HOSTADDRESS6=$HOSTADDRESS6$ -f /etc/icinga/$ARG1$ $ARG2$ $ARG3$ $ARG4$
}

define host{
        name                            2470linux-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                             2470linux-server            ; Name of host template to use
        host_name                       2470localhost
        alias                           2470localhost
        address                         127.0.0.1
        address6                        ::1
        check_command                   2470check_multi!check_multi_host_dualstack.cmd -r 1+2+4+8
}


define hostgroup {
	hostgroup_name  		test-servers-2470-1
	alias  	         		Test Servers
	members	  			2470localhost
}

define hostgroup {
	hostgroup_name  		test-servers-2470-2
	alias           		Test Servers
	members         		2470localhost
}

define hostgroup {
	hostgroup_name  		test-servers-2470-3
	alias           		Test Servers
	members         		2470localhost
}

define hostgroup {
	hostgroup_name  		test-servers-2470-4
	alias           		Test Servers
	members         		2470localhost
}



