################################################################################
# HOST DEFINITIONS
################################################################################

# Generic host definition template
define host{
	name				passive-host	; The name of this host template - referenced in other host definitions, used for template recursion/resolution
	notifications_enabled		1	; Host notifications are enabled
	event_handler_enabled		1	; Host event handler is enabled
	flap_detection_enabled		1	; Flap detection is enabled
	process_perf_data		1	; Process performance data
	retain_status_information	1	; Retain status information across program restarts
	retain_nonstatus_information	1	; Retain non-status information across program restarts

	register			0	; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
	}

# 'muninbsd.uclv.net' host definition
define host{
	use			passive-host		; Name of host template to use

	host_name		muninbsd.uclv.net
	alias			muninbsd.uclv.net
	address			10.10.41.6
	check_command		check-host-alive
	max_check_attempts	3
	notification_interval	0
	notification_period	24x7
	notification_options	d,u,r
	contact_groups		nosms-admins
	}


################################################################################
# HOST GROUP DEFINITIONS
################################################################################

# 'Passive-Server' host group definition
define hostgroup{
	hostgroup_name	Passive-Server
	alias		Passive-Server
	members		muninbsd.uclv.net
	}


################################################################################
# SERVICE DEFINITIONS
################################################################################

# Generic service definition template
define service{
	name				passive-service	; The 'name' of this service template, referenced in other service definitions
	active_checks_enabled		0	; Active service checks are enabled
	passive_checks_enabled		1	; Passive service checks are enabled/accepted
	parallelize_check		1	; Active service checks should be parallelized (disabling this can lead to major performance problems)
	obsess_over_service		1	; We should obsess over this service (if necessary)
	check_freshness			1	; Default is to NOT check service 'freshness'
	freshness_threshold             4800    ; 
	notifications_enabled		1	; Service notifications are enabled
	event_handler_enabled		1	; Service event handler is enabled
	flap_detection_enabled		1	; Flap detection is enabled
	process_perf_data		1	; Process performance data
	retain_status_information	1	; Retain status information across program restarts
	retain_nonstatus_information	1	; Retain non-status information across program restarts

	register			0	; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
	}

# Service definition
define service{
	use				passive-service		; Name of service template to use

	service_description		PING
	hostgroup_name			Passive-Server
	is_volatile			1
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		3
	retry_check_interval		1
	contact_groups			nosms-admins
	notification_interval		0
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_ping!200.0,20%!800.0,60%
	}


# Service definition
define service{   
        use                             passive-service         ; Name of service template to use

        host_name                       muninbsd.uclv.net
        service_description             Free Space /
        is_volatile                     1
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           3
        retry_check_interval            1
        contact_groups                  nosms-admins
        notification_interval           0
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_nrpe2!check_disk_root
        }


# Service definition
define service{
        use                             passive-service         ; Name of service template to use
        
        host_name                       muninbsd.uclv.net
        service_description             LOAD
        is_volatile                     1
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           3
        retry_check_interval            1
        contact_groups                  nosms-admins
        notification_interval           0
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_nrpe2!check_load
        }


# Service definition
define service{
        use                             passive-service         ; Name of service template to use

        host_name                       muninbsd.uclv.net
        service_description             Zombi Processes
        is_volatile                     1
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           3
        retry_check_interval            1
        contact_groups                  nosms-admins
        notification_interval           0
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_nrpe2!check_zombie_procs
        }


# Service definition
define service{
        use                             passive-service           ; Name of service template to use

        host_name                       muninbsd.uclv.net
        service_description             MYSQL 
        is_volatile                     1
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           3
        retry_check_interval            1
        contact_groups                  nosms-admins
        notification_interval           0
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_nrpe2!check_mysql_procs
        }


# EOF
