################################################################################
# Sample object config file for Nagios @VERSION@
#
# Read the documentation for more information on this configuration file.  I've
# provided some comments here, but things may not be so clear without further
# explanation, so make sure to read the HTML documentation!
# 
# Last Modified: 09-17-2002
#
################################################################################


################################################################################
# SERVICE DEFINITIONS
#
# SYNTAX:
#
################################################################################

# Generic service definition template
define service{
	name				generic-service	; The 'name' of this service template, referenced in other service definitions
	active_checks_enabled		1	; 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			0	; Default is to NOT check service 'freshness'
	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				generic-service		; Name of service template to use

	host_name			novell1
	service_description		SMTP
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		3
	retry_check_interval		1
	contact_groups			novell-admins
	notification_interval		120
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_smtp
	}


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

	host_name			novell1
	service_description		FTP
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			novell-admins
	notification_interval		120
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_ftp
	}


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

	host_name			novell1
	service_description		POP3
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			novell-admins
	notification_interval		120
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_pop
	}


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

	host_name			novell1
	service_description		PING
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			novell-admins
	notification_interval		120
	notification_period		24x7
	notification_options		c,r
	check_command			check_ping!100.0,20%!500.0,60%
	}


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

	host_name			novell2
	service_description		SMTP
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		3
	retry_check_interval		1
	contact_groups			novell-admins
	notification_interval		120
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_smtp
	}


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

	host_name			novell2
	service_description		FTP
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			novell-admins
	notification_interval		120
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_ftp
	}


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

	host_name			novell2
	service_description		POP3
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			novell-admins
	notification_interval		120
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_pop
	}


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

	host_name			novell2
	service_description		PING
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			novell-admins
	notification_interval		120
	notification_period		24x7
	notification_options		c,r
	check_command			check_ping!100.0,20%!500.0,60%
	}


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

	host_name			nt1
	service_description		PING
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			nt-admins
	notification_interval		120
	notification_period		24x7
	notification_options		c,r
	check_command			check_ping!100.0,20%!500.0,60%
	}


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

	host_name			nt1
	service_description		FTP
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			nt-admins
	notification_interval		120
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_ftp
	}


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

	host_name			nt1
	service_description		HTTP
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			nt-admins
	notification_interval		120
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_http
	}


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

	host_name			nt2
	service_description		PING
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			nt-admins
	notification_interval		120
	notification_period		24x7
	notification_options		c,r
	check_command			check_ping!100.0,20%!500.0,60%
	}


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

	host_name			nt2
	service_description		FTP
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			nt-admins
	notification_interval		120
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_ftp
	}


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

	host_name			nt2
	service_description		HTTP
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			nt-admins
	notification_interval		120
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_http
	}


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

	host_name			linux1
	service_description		PING
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			linux-admins
	notification_interval		240
	notification_period		24x7
	notification_options		c,r
	check_command			check_ping!100.0,20%!500.0,60%
	}


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

	host_name			linux1
	service_description		HTTP
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		2
	retry_check_interval		1
	contact_groups			linux-admins
	notification_interval		240
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_http
	}


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

	host_name			linux1
	service_description		Current Users
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		2
	contact_groups			linux-admins
	notification_interval		240
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_local_users!75!150
	}


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

	host_name			linux1
	service_description		Total Processes
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		2
	contact_groups			linux-admins
	notification_interval		240
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_local_procs!150!200!RSZDT
	}


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

	host_name			linux1
	service_description		/dev/hda1 Free Space
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			linux-admins
	notification_interval		120
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_local_disk!20%!10%!/dev/hda1
	}


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

	host_name			linux1
	service_description		/dev/hdb2 Free Space
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			linux-admins
	notification_interval		120
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_local_disk!20%!10%!/dev/hdb2
	}


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

	host_name			linux2
	service_description		PING
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			linux-admins
	notification_interval		240
	notification_period		24x7
	notification_options		c,r
	check_command			check_ping!100.0,20%!500.0,60%
	}


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

	host_name			linux2
	service_description		HTTP
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		2
	retry_check_interval		1
	contact_groups			linux-admins
	notification_interval		240
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_http
	}


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

	host_name			linux2
	service_description		Current Users
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		2
	contact_groups			linux-admins
	notification_interval		240
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_local_users!75!150
	}


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

	host_name			linux2
	service_description		Total Processes
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		2
	contact_groups			linux-admins
	notification_interval		240
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_local_procs!150!200!RSZDT
	}


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

	host_name			linux2
	service_description		/dev/hda1 Free Space
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			linux-admins
	notification_interval		120
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_local_disk!20%!10%!/dev/hda1
	}


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

	host_name			linux2
	service_description		/dev/hdb1 Free Space
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			linux-admins
	notification_interval		120
	notification_period		24x7
	notification_options		w,u,c,r
	check_command			check_local_disk!20%!10%!/dev/hdb1
	}


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

	host_name			switch1
	service_description		PING
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			switch-admins
	notification_interval		240
	notification_period		24x7
	notification_options		c,r
	check_command			check_ping!100.0,20%!500.0,60%
	}


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

	host_name			switch2
	service_description		PING
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			switch-admins
	notification_interval		240
	notification_period		24x7
	notification_options		c,r
	check_command			check_ping!100.0,20%!500.0,60%
	}


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

	host_name			switch3
	service_description		PING
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			switch-admins
	notification_interval		240
	notification_period		24x7
	notification_options		c,r
	check_command			check_ping!100.0,20%!500.0,60%
	}


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

	host_name			switch4
	service_description		PING
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			switch-admins
	notification_interval		240
	notification_period		24x7
	notification_options		c,r
	check_command			check_ping!100.0,20%!500.0,60%
	}


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

	host_name			switch5
	service_description		PING
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			switch-admins
	notification_interval		240
	notification_period		24x7
	notification_options		c,r
	check_command			check_ping!100.0,20%!500.0,60%
	}


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

	host_name			router1
	service_description		PING
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			router-admins
	notification_interval		240
	notification_period		24x7
	notification_options		c,r
	check_command			check_ping!100.0,20%!500.0,60%
	}


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

	host_name			printer1
	service_description		Printer Status
	is_volatile			0
	check_period			workhours
	max_check_attempts		4
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			printer-admins
	notification_interval		960
	notification_period		workhours
	notification_options		c,r
	check_command			check_hpjd
	}


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

	host_name			printer1
	service_description		PING
	is_volatile			0
	check_period			workhours
	max_check_attempts		4
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			printer-admins
	notification_interval		960
	notification_period		workhours
	notification_options		c,r
	check_command			check_ping!100.0,20%!500.0,60%
	}


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

	host_name			printer2
	service_description		Printer Status
	is_volatile			0
	check_period			workhours
	max_check_attempts		4
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			printer-admins
	notification_interval		960
	notification_period		workhours
	check_command			check_hpjd
	}


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

	host_name			printer2
	service_description		PING
	is_volatile			0
	check_period			workhours
	max_check_attempts		4
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			printer-admins
	notification_interval		960
	notification_period		workhours
	notification_options		c,r
	check_command			check_ping!100.0,20%!500.0,60%
	}


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

	host_name			printer3
	service_description		Printer Status
	is_volatile			0
	check_period			workhours
	max_check_attempts		4
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			printer-admins
	notification_interval		960
	notification_period		workhours
	check_command			check_hpjd
	}


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

	host_name			printer3
	service_description		PING
	is_volatile			0
	check_period			workhours
	max_check_attempts		4
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			printer-admins
	notification_interval		960
	notification_period		workhours
	notification_options		c,r
	check_command			check_ping!100.0,20%!500.0,60%
	}


