#############################################################################################
# ICINGA TEST CONFIG BY ISSUES
# (c) 2009-2015 Icinga Development Team
#
# #3509
# 
#############################################################################################


define host{
	name				3509linux-server
	use				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                     	3509linux-server
        host_name               	3509localhost
        display_name            	3509display_localhost
        alias                   	3509localhost
        address                 	127.0.0.1
}

define contact{
        contact_name                    3509icingaadmin 
        use                             testconfig-generic-contact
        alias                           Icinga Test Admin

        email                           icinga@localhost        ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
        }


define contactgroup{
        contactgroup_name       	3509admins
        alias                   	Icinga Administrators
        members                 	3509icingaadmin
        contactgroup_members    	3509admins
}


define command{
        command_name                    3509check_proc
        command_line                    $USER1$/check_procs -w $ARG1$ -c $ARG2$ -C ido2db
}


### servers/default.server.cfg
define service {
	name                           	3509default-servicecheck
	register                       	0
	service_description             ServiceCheck Template: default
	max_check_attempts              3
	check_interval                  7
	retry_interval                  3
	active_checks_enabled           0
	check_period                    testconfig-24x7
	obsess_over_service             0
	check_freshness                 1
	event_handler_enabled           0
	notification_interval           10
	contact_groups                  3509admins 
}

### servers/defaults.cfg
define service {
	use                             3509default-servicecheck
	name                            3509service 
	service_description             3509service desc
	check_command                   3509check_proc!$HOSTNAME$!httpd!1!200
}
