#
# $Header: /usr/local/monitoring/nagios/etc/services/RCS/services.cfg,v 1.66 2014/01/22 16:43:08 nagios Exp nagios $
#
# Common and miscellaneous services
#
#

define service {
        service_description             dns_host_resolution
        use                             generic-service
	hostgroup_name			CPanel Dev/QA, CPanel Prod, CSG, Linux Prod, Linux Dev/QA, Solaris, Solaris_Dev, Windows Prod, Windows Dev/QA, MSSQL Clusters, SDP, SIEM, Network and Monitoring, Netmgmt, Ping, Raritan
	host_name			!alumni-ldap, !alumni-ldap1, !alumni-ldap2, !eisnet200l, exchangeimap, !dsml, !sentinel, !ldap, !ldapprime, !ldapproxyqa, !ldapremote, !ldapupdate, !newdumper, !onbase261, !princeton-emergencyweb-01.oit.duke.edu, !tws851-devqa_app, !tws851-prod_app
        check_command                   check_dns
	notification_options		u,c,r
	contact_groups			nagiosadmin
	contacts			null
}

define service {
	service_description		nrpe_unix_tsm_backups
	use				UNIX Production service
	hostgroup_name			CPanel Prod, Linux Prod, !TSM
	host_name			!princeton-emergencyweb-01.oit.duke.edu, !x200client01, !x200client02
	max_check_attempts		1
	is_volatile			1
	active_checks_enabled		0
	notification_options		u,c
	process_perf_data		0
	flap_detection_enabled		0
	check_command			check_nrpe
	contact_groups			null
	contacts			Christopher C. Dietrich
}

define service {
	service_description		nrpe_unixtest_tsm_backups
	use				UNIX Dev/QA service
	hostgroup_name			CPanel Dev/QA, Linux Dev/QA
	host_name			!x100client01, !x100client02
	max_check_attempts		1
	is_volatile			1
	active_checks_enabled		0
	notification_options		u,c
	process_perf_data		0
	flap_detection_enabled		0
	check_command			check_nrpe
	contact_groups			null
	contacts			Christopher C. Dietrich
}

#define service {
#	service_description		nrpe_win_tsm_backups
#	use				Windows Production service
#	hostgroup_name			Windows Prod
#	host_name			!exchangeimap
#	active_checks_enabled		0
#	max_check_attempts		1
#	is_volatile			1
#	notification_options		c
#	process_perf_data		0
#	flap_detection_enabled		0
#	check_command			check_nrpe
#	contact_groups			null
#	contacts			Nicholas Delo
#}
#
#define service {
#	service_description		nrpe_wintest_tsm_backups
#	use				Windows Dev/QA service
#	hostgroup_name			Windows Dev/QA
#	host_name			!ess-2008r2test
#	active_checks_enabled		0
#	max_check_attempts		1
#	is_volatile			1
#	active_checks_enabled		0
#	notification_options		c
#	process_perf_data		0
#	flap_detection_enabled		0
#	check_command			check_nrpe
#	contact_groups			null
#	contacts			Nicholas Delo
#}

define service {
	service_description		nrpe_maestro_stdlistsz
	use				generic-service-active
	hostgroup_name			Maestro
	host_name			landr
	normal_check_interval		60
	freshness_threshold		4000
	check_command			check_nrpe_maestro_stdlistsz
	contacts			Martin Harriss, Martin Pager
}

define service {
	service_description		nrpe_maestro_stdlistsz
	use				generic-service-active
	hostgroup_name			Maestro Dev/QA
	host_name			landrdev
	normal_check_interval		60
	freshness_threshold		4000
	check_command			check_nrpe_maestro_stdlistsz
	contacts			Martin Harriss
}

define service {
	service_description		nrpe_maestro_procs
	use				generic-service-active
	hostgroup_name			Maestro
	normal_check_interval		5
	freshness_threshold		3600
	check_command			check_nrpe_maestro_procs
	contacts			Martin Harriss, Martin Pager
}

define service {
	service_description		nrpe_maestro_procs
	use				generic-service-active
	hostgroup_name			Maestro Dev/QA
	normal_check_interval		5
	freshness_threshold		3600
	check_command			check_nrpe_maestro_procs
	contacts			Martin Harriss
}


define service {
	service_description		http port
	use				generic-service-active
	host_name			sp
	max_check_attempts		5
	check_command			check_http!6!8
	contacts			SharePoint Infrastructure
}

define service {
	service_description		trap_VMWare
	use				UNIX Production service
	hostgroup_name			ESX
	is_volatile			1
	active_checks_enabled		0
	passive_checks_enabled		1
	max_check_attempts		1
	#notification_interval		31536000
	process_perf_data		0
	check_command			check_trap_OK
	notifications_enabled		0
}

#define service {
#	service_description		CIM ESX hardware
#	use				UNIX Production service
#	hostgroup_name			ESX, !ESX oob
#	host_name			!essesx204v, !essesx205v, !essesx206v, !essesx207v, !essesx208v, !essesx209v, !essesx210v, !essesx222v, !essesx223v, !essesx224v, !essesx225v, !essesx226v, !essesx290v, !essesx291v, !essesx292v
#	process_perf_data		0
#	check_command			check_ESXi_CIM
#	contacts			ESS Page, ESS UNIX List
#	contact_groups			null
#}


define service {
	service_description		ICMP Ping
	use				generic-service-active
	hostgroup_name			Ping
	notification_options		c,r
	action_url			/princeton/cgi-bin/cacti-mapper.cgi?host=$HOSTALIAS$&service=$SERVICEDESC$
	check_command			check_alive
}


define service {
	service_description		ICMP Ping
	use				generic-service-active
	hostgroup_name			Net, Network and Monitoring
	host_name			!core-ns NS switch, !gigagate6 151 switch
	notification_options		c,r
	action_url			/princeton/cgi-bin/cacti-mapper.cgi?host=$HOSTALIAS$&service=$SERVICEDESC$
	check_command			check_alive
}

define service {
	service_description		ICMP Ping
	use				generic-service-active
	host_name			ppsqm, ppvm
	action_url			/princeton/cgi-bin/cacti-mapper.cgi?host=$HOSTALIAS$&service=$SERVICEDESC$
	check_command			check_alive
	contacts			nagiosadmin
	contact_groups			null
}

define service {
	service_description		ICMP Ping
	hostgroup_name			F5 Production Load Balancers, !F5 Production Load Balancer Interfaces
	action_url			/princeton/cgi-bin/cacti-mapper.cgi?host=$HOSTALIAS$&service=$SERVICEDESC$
	check_command			check_alive
	contact_groups			null
	contacts			Networking
	use				UNIX Production service
}

define service {
	service_description		ICMP Ping
	hostgroup_name			F5 QA Load Balancers
	action_url			/princeton/cgi-bin/cacti-mapper.cgi?host=$HOSTALIAS$&service=$SERVICEDESC$
	check_command			check_alive
	contact_groups			null
	contacts			Networking
	use				UNIX Dev/QA service
}

define service {
	service_description		netmgmt_ssh
	use				generic-service-active
	hostgroup_name			Netmgmt, !Netmgmt - No SSH
	max_check_attempts		12
	normal_check_interval		60
	retry_check_interval		30
	check_command			check_ssh
}


########################

define service {
	service_description		dns_ultradns
	use				generic-service-active
	host_name			csg_host
	check_command			check_dns_udns!www.princeton.edu.!140.180.223.42!152.3.102.149!204.69.234.1!udns1!204.74.101.1!udns2
	contacts			CSG OnCall
}

define service {
	service_description		dns_www_Route53
	use				generic-service-active
	host_name			csg_host
	check_command			check_dns_udns!www.princeton.edu.!140.180.223.42!152.3.102.149!205.251.199.145!ns-1937.awsdns-50.co.uk!205.251.194.5!ns-517.awsdns-00.net! --server 205.251.197.125 --servername ns-1405.awsdns-47.org --server 205.251.192.92 --servername ns-92.awsdns-11.com
	contacts			Brian K. Osborne, CISDR, Hajar Niroomand, Jill E. Moraca, John W. Jameson, Joseph M. Karam, Mark Ratliff
}

#
#define service {
#	service_description		snmp_crac_temp_set_point
#	use				generic-service-active
#	hostgroup			Environment
#	normal_check_interval		15
#	notifications_enabled		0
#	notification_interval		240
#	action_url			/princeton/cgi-bin/cacti-mapper.cgi?host=$HOSTALIAS$&service=$SERVICEDESC$
#	check_command			check_snmp_crac_temp_set_point
#}
#
#
#define service {
#	service_description		snmp_crac_humidity
#	use				generic-service-active
#	hostgroup			Environment
#	normal_check_interval		15
#	notifications_enabled		0
#	notification_interval		240
#	action_url			/princeton/cgi-bin/cacti-mapper.cgi?host=$HOSTALIAS$&service=$SERVICEDESC$
#	check_command			check_snmp_crac_humidity
#}
#
#
#
#define service {
#	service_description		snmp_crac_humidity_set_point
#	use				generic-service-active
#	hostgroup			Environment
#	normal_check_interval		15
#	notifications_enabled		0
#	notification_interval		240
#	action_url			/princeton/cgi-bin/cacti-mapper.cgi?host=$HOSTALIAS$&service=$SERVICEDESC$
#	check_command			check_snmp_crac_humidity_set_point
#}
#
#
#define service {
#	service_description		snmp_crac_temp
#	use				generic-service-active
#	hostgroup			Environment
#	normal_check_interval		15
#	notifications_enabled		0
#	notification_interval		240
#	action_url			/princeton/cgi-bin/cacti-mapper.cgi?host=$HOSTALIAS$&service=$SERVICEDESC$
#	check_command			check_snmp_crac_temp
#}


define service {
	service_description		tsm_sessions_tsm4
	use				generic-service
	host_name			tsm
	check_command			check_tsm_sessions!tsm4
}


define service {
	service_description		tsm_sessions_tsm2
	use				generic-service
	host_name			tsm
	check_command			check_tsm_sessions!tsm2
}


define service {
	service_description		tsm_sessions_tsm3
	use				generic-service-active
	host_name			tsm
	check_command			check_tsm_sessions!tsm3
}


define service {
	service_description		tsm_sessions_tsm1
	use				generic-service
	host_name			tsm
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	check_command			check_tsm_sessions!tsm1
}


define service {
	service_description		tsm_sessions_eistsm207l
	use				generic-service
	host_name			tsm
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	check_command			check_tsm_sessions!eistsm207l
}


define service {
	service_description		tsm_sessions_tsm5
	use				generic-service
	host_name			tsm
	check_command			check_tsm_sessions!tsm5
}


define service {
	service_description		tsm_sessions_eistsm208
	use				generic-service-active
	host_name			tsm
	check_command			check_tsm_sessions!eistsm208
}


define service {
	service_description		tsm_sessions_eistsm210l
	use				generic-service-active
	host_name			tsm
	check_command			check_tsm_sessions!eistsm210l
}


define service {
	service_description		cluster_arizona
	use				generic-service-active
	host_name			Arizona_Cluster
	obsess_over_service		0
	check_freshness			1
	process_perf_data		0
	check_command			check_service_cluster!Arizona!$SERVICESTATEID:yuma:nrpe_unixtest_agent_status$,$SERVICESTATEID:phoenix:nrpe_unixtest_agent_status$!-w @1:!-c @2:
}


define service {
	service_description		nrpe_maestro_unlinked
	use				generic-service-active
	host_name			tws851-devqa_app, tws851-prod_app
	normal_check_interval		60
	freshness_threshold		4000
	check_command			check_nrpe_maestro_unlink
	contacts			Martin Harriss, Martin Pager
}


define service {
	service_description		nrpe_maestro_carryfwd
	use				generic-service-active
	host_name			tws851-devqa_app, tws851-prod_app
	normal_check_interval		30
	freshness_threshold		87000
	notifications_enabled		1
	notification_interval		0
	check_command			check_nrpe_maestro_carryfwd
	contacts			Martin Harriss, Martin Pager
}


define service {
	service_description		jnextcheck
	use				generic-service
	host_name			tws851-devqa_app, tws851-prod_app
	active_checks_enabled		0
	passive_checks_enabled		1
	check_freshness			1
	freshness_threshold		87000
	check_command			check-jnextday!2!'JNEXTDAY did not run'
	contacts			Martin Harriss, Martin Pager
}


define service {
	service_description		nrpe_maestro_msgfilesz
	use				generic-service-active
	host_name			tws851-devqa_app, tws851-prod_app
	normal_check_interval		60
	notification_interval		4000
	check_command			check_nrpe_maestro_msgfilesz
	contacts			Martin Harriss, Martin Pager
}


define service {
	service_description		cluster_webhead
	use				generic-service-active
	host_name			Webhead_Cluster
	obsess_over_service		0
	check_freshness			1
	process_perf_data		0
	check_command			check_service_cluster!Webhead!$SERVICESTATEID:webhead01:nrpe_unix_agent_status$,$SERVICESTATEID:webhead02:nrpe_unix_agent_status$!-w @1:!-c @2:
}

define service {
	service_description		nrpe_wintest_disk_app
	use				Windows Dev/QA service
	host_name			mcgtutor200w
	check_command			check_nrpe_win_all_disks_except!90%!97%!Drive=Q: Drive=C:
	notification_options		w,c,r
	contacts			Paula L. Brett
}

