###############################################################################
##########							     ##########
##########		       Service Templates		     ##########
##########							     ##########
###############################################################################


define service{
        name                            generic-service 	; The 'name' of this service template
	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
        is_volatile                     0       		; The service is not volatile
        check_period                    24x7			; The service can be checked at any time of the day
        max_check_attempts              2			; Re-check the service up to 2 times in order to determine its final (hard) state
        normal_check_interval           10			; Check the service every 10 minutes under normal conditions
        retry_check_interval            1			; Re-check the service every two minutes until a hard state can be determined
        contact_groups                  admins			; Notifications get sent out to everyone in the 'admins' group
	notification_options		w,u,c,r			; Send notifications about warning, unknown, critical, and recovery events
        notification_interval           60			; Re-notify about service problems every hour
        notification_period             work_sans_holidays	; Notifications can be sent during this time period
	action_url 			/pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=$SERVICEDESC$' class='tips' rel='/pnp4nagios/index.php/popup?host=$HOSTNAME$&srv=$SERVICEDESC$	
	;action_url 			/pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=$SERVICEDESC$
        register                        0       		; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
        }

define service{
	use				generic-service
        name                            production-service 	; The 'name' of this service template
        notification_period             24x7			; Notifications can be sent out at any time
        register                        0
        }

define service{
	name				local-service 		; The name of this service template
	use				production-service	; Inherit default values from the generic-service definition
        max_check_attempts              2			; Re-check the service up to 4 times in order to determine its final (hard) state
        normal_check_interval           5			; Check the service every 5 minutes under normal conditions
        retry_check_interval            1			; Re-check the service every minute until a hard state can be determined
        register                        0
	}

define service{
	name				drive-service
	use				production-service
	max_check_attempts		3
	retry_check_interval		1
        register                        0
	}

define service{
	name				sql-memory-service
	use				generic-service
	normal_check_interval		5
	retry_check_interval		5
        register                        0
	}

define service{
	name				nrpe-service
	use				generic-service
	notification_options		w,c,r
        register                        0
	}

define service{
	name				quiet-service
	use				generic-service
	notification_options		w,c,r
        register                        0
	notifications_enabled           0
	}

###############################################################################
##########							     ##########
##########		          Generic Checks		     ##########
##########							     ##########
###############################################################################

define service{
        use                             local-service
        hostgroup_name                  mailservers, linux-servers,VW_ESX
        service_description             PING
	display_name			Ping
	check_command			check_ping!100.0,5%!500.0,10%
        }

###############################################################################
##########							     ##########
##########		          Linux Checks  		     ##########
##########							     ##########
###############################################################################

define service{
        use                             local-service
	hostgroup_name			linux-servers
        service_description             Current_Users
        display_name                    Current Users
	check_command			check_local_users!20!50
        }

define service{
        use                             local-service
	hostgroup_name			monitoring-servers
        service_description             Root_Partition
        display_name                    Root Partition
	check_command			check_local_disk!15%!10%!/
        }

define service{
        use                             local-service
	hostgroup_name			linux-servers
        service_description             Total Processes
        display_name                    Total Processes
	check_command			check_local_procs!300!400!RSZDT
        }

define service{
        use                             local-service
		hostgroup_name			linux-servers
        service_description             Current Load
        display_name                    Current Load
		check_command			check_local_load!5.0,4.0,3.0!10.0,6.0,4.0
        }

define service{
        use                             local-service
	hostgroup_name			linux-servers
        service_description             Swap Usage
        display_name                    Swap Usage
	check_command			check_local_swap!20!10
        }

define service{
        use                             local-service
	hostgroup_name			linux-servers
        service_description             SSH
        display_name                    SSH
	check_command			check_ssh
	notifications_enabled		0
        }

###############################################################################
##########							     ##########
##########		     Remote Linux Checks  		     ##########
##########							     ##########
###############################################################################

define service{
        use                             local-service
	hostgroup_name			nrpe-linux-servers
        service_description             Root_Partition
        display_name                    Root Partition
	check_command			check_remote_partition!10%!5%!/
        }

define service{
        use                             local-service
	hostgroup_name			nrpe-linux-servers
        service_description             Load
        display_name                    Load
	check_command			check_remote_load
        }

#define service{
#        use                             local-service
#	hostgroup_name			nrpe-linux-servers
#        service_description             Process_Count
#        display_name                    Process_Count
#	check_command			check_remote_procs
#        }

define service{
        use                             local-service
	hostgroup_name			nrpe-linux-servers
        service_description             User_Count
        display_name                    User_Count
	check_command			check_remote_users
        }

define service{
        use                             local-service
	hostgroup_name			nrpe-linux-servers
        service_description             Swap
        display_name                    Swap
	check_command			check_remote_swap!20!10
        }

define service{
       use                             local-service
	hostgroup_name			nrpe-linux-servers
        service_description             Memory
        display_name                    Memory
	check_command			check_remote_mem!90!95
        }

###############################################################################
##########							     ##########
##########		          Windows Checks  		     ##########
##########							     ##########
###############################################################################


##########		          Basic Checks  		     ##########

define service{
	use				production-service
	hostgroup_name			mailservers
	service_description		SMTP
	display_name                    SMTP
	check_command			check_smtp
	}

define service{
	use				production-service
	hostgroup_name			windows-servers,SQL_Servers,mailservers,oldWindows
	service_description		Uptime
	display_name	       		Uptime
	check_command			check_nt!UPTIME
	servicegroups			Uptime
	}

define service{
	use				production-service
	check_period            	cpuHours
	hostgroup_name			windows-servers,SQL_Servers,mailservers,oldWindows
	service_description		CPU_Load
	display_name			CPU Load
	check_command			check_nt!CPULOAD!-l 10,90,95
	}

define service{
	use				generic-service
	hostgroup_name			windows-servers,oldWindows
	service_description		Memory_Usage
	display_name			Memory Usage
	check_command			check_nt!MEMUSE!-w 85 -c 90
	}

define service{
	use				sql-memory-service
	hostgroup_name			SQL_Servers
	service_description		SQL_Memory_Usage
	display_name			SQL Memory Usage
	check_command			check_nt!MEMUSE!-w 97 -c 99
	}

define service{
	use				generic-service
	hostgroup_name			mailservers
	service_description		Memory_Usage
	display_name			Memory Usage
	check_command			check_nt!MEMUSE!-w 90 -c 95
	}

define service{
	use				drive-service
	hostgroup_name			windows-servers,SQL_Servers,mailservers,oldWindows
	service_description		C_Drive
	display_name			C Drive
	check_command			check_nt!USEDDISKSPACE!-l c -w 90 -c 95
	}

#define service{
#	use				generic-service
#	hostgroup_name			windows-servers
#	service_description		Registry_Check
#	display_name			Registry_Check
#       process_perf_data               0
#	check_command			check_nrpe!check_reg_key2!"HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server"!Enabled!4294967295
#	}

#define service{
#	use				generic-service
#	hostgroup_name			windows-servers,SQL_Servers,mailservers
#	host_name			DALSRVUATIIS03,DALSRVITFS01,DALSRVITDC01,DALSRVITDC02,DALSRVDEVBLD01,DALSRVDEVIIS01,DALSRVDEVIIS02,DALSRVDEVJNK02,DALSRVDEVMDB01,DALSRVDEVSQL01,DALSRVQAIIS01,DALSRVQAIIS02
#	service_description		TLS1.2_check
#	display_name			TLS1.2_check
#        process_perf_data               0
#	check_command			check_tls12!check_tls_key!Enabled!4294967295
#	}

#define service{
#       use                             generic-service
#        host_name                       SRV-ARLTFS1
#        service_description             TLS_Check
#        display_name                    TLS_Check
#        process_perf_data               0
#        check_command                   check_tls_old
#        }
#define service{
#	use				generic-service
#	hostgroup_name			windows-servers
#	service_description		TLS1.1_check
#	display_name			TLS1.1_check
#        process_perf_data              0
#	check_command			check_nrpe!check_tls_key "1.1"!"Enabled"!"4294967295"
#	}

define service{
	use				drive-service
	host_name			SRV-ARLTFS1,AWSSRVPRDSQL01,AWSSRVPRDSQL02
	service_description		D_Drive
	display_name			D Drive
	check_command			check_nt!USEDDISKSPACE!-l d -w 90 -c 95
	}

define service{
	use				drive-service
	host_name			DALSRVQASQL01,DALSRVDEVSQL01,DALSRVPRDIIS01,DALSRVPRDIIS02,DALSRVPRDIIS04,DALSRVPRDIIS06,DALSRVPRDIIS07,DALSRVPRDIIS08,DALSRVPRDIIS09,DALSRVPRDIIS10,DALSRVPRDIIS11,DALSRVPRDIIS12,DALSRVUATMDB01,DALSRVPRDMDB01,DALSRVPRDSQL01,DALSRVPRDSQL06,DALSRVUATIIS03,ESTSQL,CSTSQL,DALSRVUATSQL01,DALSRVUATSQL02,DALSRVITEXC01,DALSRVITWSUS01,AWSSRVPRDSQL02
        service_description		E_Drive
	display_name			E Drive
	check_command			check_nt!USEDDISKSPACE!-l e -w 90 -c 95
	}

define service{
	use				drive-service
	host_name			DALSRVUATSQL01,DALSRVDEVSQL01
	service_description		F_Drive
	display_name			F Drive
	check_command			check_nt!USEDDISKSPACE!-l f -w 90 -c 95
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS02,DALSRVPRDIIS04,DALSRVPRDIIS07
	service_description		eSP_NANI_Connector
	display_name	        	eSP NANI Connector
	check_command			check_nt!PROCSTATE!-d SHOWALL -l OZ.Nani.Connector.Esp.ServiceHost.exe
	}

##########	                Non-Oz Service Checks                ##########

define service{
	use				production-service
	hostgroup_name			iis-servers,oldWindows
	service_description		W3SVC
	display_name	        	W3SVC
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l W3SVC
	}

define service{
	use				production-service
	hostgroup_name			SQL_Servers
	service_description		SQLServer
	display_name	        	SQLServer
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l MSSQLSERVER
	}

define service{
	use				production-service
	hostgroup_name			sql-reporting-servers
	service_description		ReportServer
	display_name	        	ReportServer
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l ReportServer
	}

define service{
	use				production-service
	hostgroup_name			mongo-servers
	service_description		mongod.exe
	display_name	        	Mongo
	check_command			check_nt!PROCSTATE!-d SHOWALL -l mongod.exe
	}

define service{
	use				local-service
	host_name			DALSRVPRDMDB01
	service_description		Mongo Port 47017
	check_command			check_tcp!47017
	}

define service{
	use				production-service
	host_name			DALSRVITSFB02
	service_description		Lync Access Edge
	display_name	        	RTCSrv.exe
	check_command			check_nt!PROCSTATE!-d SHOWALL -l RTCSrv.exe
	}

define service{
	use				production-service
	host_name			DALSRVITSFB02
	service_description		Lync AV Edge
	display_name	        	MediaRelaySvc.exe
	check_command			check_nt!PROCSTATE!-d SHOWALL -l MediaRelaySvc.exe
	}

define service{
	use				production-service
	host_name			DALSRVITSFB02
	service_description		Lync WebConf Edge
	display_name	        	DataProxY.exe
	check_command			check_nt!PROCSTATE!-d SHOWALL -l DataProxy.exe
	}

#define service{
#	use				production-service
#	host_name			DALSRVITWSUS01
#	service_description		WSUS Services
#	display_name	        	wsusservice.exe
#	check_command			check_nt!PROCSTATE!-d SHOWALL -l wsusservice.exe
#	}

define service{
	use				production-service
	host_name			DALSRVITWSUS01
	service_description		WSUS Services
	display_name	        	wsusservice.exe
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l WsusService
	}

define service{
	use				production-service
	host_name			DALSRVDEVBLD01
	service_description		Bamboo Remote Agent
	display_name	        	Bamboo_Remote_Agent
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l bamboo-remote-agent
	}

#define service{
#	use				production-service
#	host_name			DALSRVITVC01
#	service_description		VMWare VCenter Server
#	display_name	        	vpxd.exe
#	check_command			check_nt!PROCSTATE!-d SHOWALL -l vpxd.exe
#	}


###############################################################################
##########							     ##########
##########		          Website Checks        	     ##########
##########							     ##########
###############################################################################

define service{
	use				production-service
	host_name			DALSRVPRDIIS08
	service_description		DCNBS.COM
	check_command			check_url!http://www.DCNBS.com/index.asp
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS08
	service_description		DCNBS.COM SSL
	check_command			check_url_ssl!www.DCNBS.com
	}

define service {	
	use				production-service
	host_name			AWSSRVPRDIIS01
	service_description		ESPDATA.ORG.AU
	check_command			check_url!http://www.espdata.org.au/index.asp
	}

define service{	
	use				production-service
	host_name			AWSSRVPRDIIS01
	service_description		ESPDATA.ORG.AU SSL
	check_command			check_url_ssl!www.espdata.org.au
	}

define service{
	use				production-service
	host_name			DALSRVUATIIS04
	service_description		QA.AU.ESPDEMOS.COM
	check_command			check_url!http://QA.AU.ESPDEMOS.com/au/index.asp
	}

define service{
	use				production-service
	host_name			DALSRVUATIIS04
	service_description		UAT.AU.ESPDEMOS.COM
	check_command			check_url!http://UAT.AU.ESPDEMOS.com/au/index.asp
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS05
	service_description		NANICST.OZSYSTEMS.COM_CCHD
	check_command			check_url!https://nanicst.ozsystems.com/TXCCHD.Services.DOC/Services/CCHDWebService.svc
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS05
	service_description		NANICST.OZSYSTEMS.COM_Patient_Services
	check_command			check_url!https://nanicst.ozsystems.com/TXCCHDOZ.Esp.Data.Services.Hosts/PatientService.svc	
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS05
	service_description		NANICST.OZSYSTEMS.COM SSL
	check_command			check_url_ssl!nanicst.ozsystems.com
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS06
	service_description		NANIDALEAST.OZSYSTEMS.COM
	check_command			check_url!https://nanidaleast.ozsystems.com/UserRegistration/Account/Login
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS06
	service_description		NANIDALEAST.OZSYSTEMS.COM SSL
	check_command			check_url_ssl!nanidaleast.ozsystems.com
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS12
	service_description		OZTOOLBOX.COM Products
	check_command			check_external_url!64.58.230.214!https://www.oztoolbox.com/Products
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS12
	service_description		OZTOOLBOX.COM SSL
	check_command			check_url_ssl!www.oztoolbox.com
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS08
	service_description		VIRGINISLANDSNBS.COM
	check_command			check_url!http://www.virginislandsnbs.com/index.asp
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS08
	service_description		VIRGINISLANDSNBS.COM SSL
	check_command			check_url_ssl!www.virginislandsnbs.com
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS04
	service_description		ISDH	
	check_command			check_external_url!108.59.50.33!https://gatewaydev.isdh.in.gov/WebServices/OZWeb/OzService.svc
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS01
	service_description		Iowa eSP
	check_command			check_url!https://iowanewbornscreening.iowa.gov/Index.aspx
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS01
	service_description		Iowanewborscreening SSL
	check_command			check_url_ssl!iowanewbornscreening.iowa.gov
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS08
	service_description		MD EHDI
	check_command			check_url!https://www.mdehdi.com/Index.aspx
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS08
	service_description		MDEHDI.COM SSL
	check_command			check_url_ssl!www.mdehdi.com
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS01
	service_description		TEHDI.COM
	check_command			check_url!https://www.tehdi.com/tehdi2/Index.aspx
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS01
	service_description		TEHDI.COM SSL
	check_command			check_url_ssl!www.tehdi.com
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS10
	service_description		AKEHDI.COM
	check_command			check_url!https://www.akehdi.com/Alaska/Index.aspx
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS10
	service_description		AKEHDI.COM SSL
	check_command			check_url_ssl!www.akehdi.com
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS01
	service_description		NDHEARINGSCREENING.COM
	check_command			check_url!https://www.ndhearingscreening.com/espnd/Index.aspx
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS01
	service_description		NDHEARINGSCREENING.COM SSL
	check_command			check_url_ssl!www.ndhearingscreening.com
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS01
	service_description		MNNEWBORNSCREENING.COM
	check_command			check_url!https://www.mnnewbornscreening.com/MN/Index.aspx
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS01
	service_description		MNNEWBORNSCREENING.COM SSL
	check_command			check_url_ssl!www.mnnewbornscreening.com
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS08
	service_description		ESCREENERPLUS.COM - Pennsylvania
	check_command			check_url!https://www.escreenerplus.com/pennsylvania/Index.aspx
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS08
	service_description		ESCREENERPLUS.COM - Delaware
	check_command			check_url!https://www.escreenerplus.com/delaware/Index.aspx
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS08
	service_description		ESCREENERPLUS.COM - New York
	check_command			check_url!https://www.escreenerplus.com/newyork/Index.aspx
	}

#define service{
#	use				production-service
#	host_name			DALSRVPRDIIS08
#	service_description		ESCREENERPLUS.COM - Michigan
#	check_command			check_url!https://www.escreenerplus.com/michigan/Index.aspx
#	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS08
	service_description		ESCREENERPLUS.COM SSL
	check_command			check_url_ssl_sub!www.escreenerplus.com!/delaware
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS01
	service_description		PROVIDERACCESS.TEHDI.COM
	check_command			check_url!https://www.provideraccess.tehdi.com/TPL/login.aspx
	}

define service{
	use				production-service
	host_name			AWSSRVPRDIIS01
	service_description		VIHSP ESP
	check_command			check_url!https://www.vihsp.espdata.org.au/VIHSP/Index.aspx
	}

define service{
	use				production-service
	host_name			AWSSRVPRDIIS01
	service_description		VIHSP.ESPDATA.ORG.AU SSL
	check_command			check_url_ssl!www.vihsp.espdata.org.au
	}


###############################################################################
##########							     ##########
##########		         VMWare Checks          	     ##########
##########							     ##########
###############################################################################

#define service{
#	use 				local-service
#	hostgroup_name 			VW_ESX
#	service_description 		Hardware
#	check_command 			check_esxi_hardware!/usr/local/nagios/etc/.esxipass!/usr/local/nagios/etc/.esxipass!hp
#	}

#disabling due to scripting timeout after some VMWare updates


###############################################################################
##########							     ##########
##########		     DALSRVPRDIIS01 Checks  		     ##########
##########							     ##########
###############################################################################






###############################################################################
##########							     ##########
##########		     DALSRVPRDIIS02 Checks  		     ##########
##########							     ##########
###############################################################################

define service{
	use				production-service
	host_name			DALSRVPRDIIS02
	service_description		IA_Continuous_Recalc
	display_name	        	IA_Continuous_Recalc
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l ContinuousRecalc\$$IA-Recalc
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS02
	service_description		MN_Continuous_Recalc
	display_name	        	MN_Continuous_Recalc
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l ContinuousRecalc\$$MN-ContinuousRecalc
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS02
	service_description		ND_Continuous_Recalc
	display_name	        	ND_Continuous_Recalc
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l ContinuousRecalc\$$ND-ContinuousRecalc
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS02
	service_description		TX_Continuous_Recalc
	display_name	        	TX_Continuous_Recalc
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l ContinuousRecalc\$$TX-ContinuousRecalc
	}

###############################################################################
##########							     ##########
##########		     DALSRVPRDIIS03 Checks  		     ##########
##########							     ##########
###############################################################################

define service{
	use				generic-service
	host_name			DALSRVPRDIIS03
	service_description		PROD_Dashboard
	check_command			check_url!http://dashboard.oz.local
	}

###############################################################################
##########							     ##########
##########		     DALSRVPRDIIS04 Checks  		     ##########
##########							     ##########
###############################################################################

define service{
	use				production-service
	host_name			DALSRVPRDIIS04
	service_description		DC_Continuous_Recalc
	display_name	        	DC_Continuous_Recalc
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l ContinuousRecalc\$$DC-Recalc
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS04
	service_description		DE_Continuous_Recalc
	display_name	        	DE_Continuous_Recalc
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l ContinuousRecalc\$$DE-Recalc
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS04
	service_description		MD_Continuous_Recalc
	display_name	        	MD_Continuous_Recalc
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l ContinuousRecalc\$$MD-Recalc
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS04
	service_description		VA_Continuous_Recalc
	display_name	        	VA_Continuous_Recalc
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l ContinuousRecalc\$$VA-Recalc
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS04
	service_description		DC_Connector_NANI2.0
	display_name	        	DC_Connector_NANI2.0
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l eSPNaniConnector\$$DC
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS04
	service_description		DE_Connector_NANI2.0
	display_name	        	DE_Connector_NANI2.0
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l eSPNaniConnector\$$DE
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS04
	service_description		MD_Connector_NANI2.0
	display_name	        	MD_Connector_NANI2.0
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l eSPNaniConnector\$$MD
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS04
	service_description		VA_Connector_NANI2.0
	display_name	        	VA_Connector_NANI2.0
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l eSPNaniConnector\$$VA
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS04
	service_description		MD_NANI1_to_2_Migrator
	display_name	        	MD_NANI1_to_2_Migrator
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l Nani_2_Queue\$$MD
	}



###############################################################################
##########							     ##########
##########		     DALSRVPRDIIS05 Checks  		     ##########
##########							     ##########
###############################################################################

define service{
	use				production-service
	host_name			DALSRVPRDIIS05
	service_description		IA_EHDI_Distributor
	display_name	        	IA_EHDI_Distributor
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l ehdiDistributor\$$IAEHDIDistributor
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS05
	service_description		MN_EHDI_Distributor
	display_name	        	MN_EHDI_Distributor
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l ehdiDistributor\$$MNEHDIDistributor
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS05
	service_description		ND_EHDI_Distributor
	display_name	        	ND_EHDI_Distributor
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l ehdiDistributor\$$NDEHDIDistributor
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS05
	service_description		TX_EHDI_Distributor
	display_name	        	TX_EHDI_Distributor
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l ehdiDistributor\$$TXEHDIDistributor
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS05
	service_description		IA_eSP_Connector	
	display_name	        	IA_eSP_Connector	
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l eSPNaniConnector\$$IAeSPConnector
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS05
	service_description		MN_eSP_Connector
	display_name	        	MN_eSP_Connector
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l eSPNaniConnector\$$MNeSPConnector
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS05
	service_description		ND_eSP_Connector
	display_name	        	ND_eSP_Connector
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l eSPNaniConnector\$$NDeSPConnector
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS05
	service_description		TX_CCHD_eSP_Connector
	display_name	        	TX_CCHD_eSP_Connector
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l eSPNaniConnector\$$TXCCHDeSPconnector
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS05
	service_description		TX_HL7_Publisher
	display_name	        	TX_HL7_Publisher
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l "OZ HL7 Publisher\$$TX"
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS05
	service_description		MN_HL7_Publisher
	display_name	        	MN_HL7_Publisher
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l "OZ HL7 Publisher\$$MN"
	}

###############################################################################
##########							     ##########
##########		     DALSRVPRDIIS06 Checks  		     ##########
##########							     ##########
###############################################################################

define service{
	use				production-service
	host_name			DALSRVPRDIIS06
	service_description		DC_CCHD_eSP_Connector
	display_name	        	DC_CCHD_eSP_Connector
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l eSPNaniConnector\$$CCHDDCeSPConnector
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS06
	service_description		MD_CCHD_eSP_Connector
	display_name	        	MD_CCHD_eSP_Connector
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l eSPNaniConnector\$$CCHDMDeSPConnector
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS06
	service_description		NEGC_eSP_Connector
	display_name	        	NEGC_eSP_Connector
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l eSPNaniConnector\$$NEGCeSPConnector
	}


###############################################################################
##########							     ##########
##########		     DALSRVPRDIIS07 Checks  		     ##########
##########							     ##########
###############################################################################



###############################################################################
##########							     ##########
##########		     DALSRVPRDIIS08 Checks  		     ##########
##########							     ##########
###############################################################################



###############################################################################
##########							     ##########
##########		     DALSRVPRDIIS09 Checks  		     ##########
##########							     ##########
###############################################################################

define service{
	use				production-service
	host_name			DALSRVPRDIIS09
	service_description		AK_Connector_NANI2.0
	display_name	        	AK_Connector_NANI2.0
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l eSPNaniConnector\$$AK
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS09
	service_description		AK_NANI1_to_2_Migrator
	display_name	        	AK_NANI1_to_2_Migrator
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l Nani_2_Queue\$$AK
	}

###############################################################################
##########							     ##########
##########		     DALSRVPRDIIS10 Checks  		     ##########
##########							     ##########
###############################################################################

define service{
	use				production-service
	host_name			DALSRVPRDIIS10
	service_description		AK_Continuous_Recalc
	display_name	        	AK_Continuous_Recalc
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l ContinuousRecalc
	}



###############################################################################
##########							     ##########
##########		     DALSRVPRDIIS11 Checks  		     ##########
##########							     ##########
###############################################################################





###############################################################################
##########							     ##########
##########		     DALSRVPRDIIS12 Checks  		     ##########
##########							     ##########
###############################################################################



###############################################################################
##########							     ##########
##########		     DALSRVPRDIIS13 Checks  		     ##########
##########							     ##########
###############################################################################



###############################################################################
##########							     ##########
##########		     DALSRVPRDIIS14 Checks  		     ##########
##########							     ##########
###############################################################################


define service{
	use				production-service
	host_name			DALSRVPRDIIS14
	service_description		VA_HL7_Publisher
	display_name	        	VA_HL7_Publisher
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l "OZ HL7 Publisher\$$VA"
	}


###############################################################################
##########							     ##########
##########		      NANI Service Checks    		     ##########
##########							     ##########
###############################################################################

define service{
	use				production-service
	host_name			DALSRVPRDIIS02, DALSRVPRDIIS07
	service_description		IA_Connector_NANI2.0
	display_name	        	IA_Connector_NANI2.0
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l eSPNaniConnector\$$IA
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS02, DALSRVPRDIIS07
	service_description		MN_Connector_NANI2.0
	display_name	        	MN_Connector_NANI2.0
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l "eSPNaniConnector$"$"MN"
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS02, DALSRVPRDIIS07
	service_description		ND_Connector_NANI2.0
	display_name	        	ND_Connector_NANI2.0
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l eSPNaniConnector\$$ND
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS02, DALSRVPRDIIS07
	service_description		TX_Connector_NANI2.0
	display_name	        	TX_Connector_NANI2.0
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l eSPNaniConnector\$$TX
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS02, DALSRVPRDIIS07
	service_description		IA_NANI1_to_2_Migrator
	display_name	        	IA_NANI1_to_2_Migrator
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l Nani_2_Queue\$$IA
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS02, DALSRVPRDIIS07
	service_description		MN_NANI1_to_2_Migrator
	display_name	        	MN_NANI1_to_2_Migrator
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l Nani_2_Queue\$$MN
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS02, DALSRVPRDIIS07
	service_description		ND_NANI1_to_2_Migrator
	display_name	        	ND_NANI1_to_2_Migrator
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l Nani_2_Queue\$$ND
	}

define service{
	use				production-service
	host_name			DALSRVPRDIIS02, DALSRVPRDIIS07
	service_description		TX_NANI1_to_2_Migrator
	display_name	        	TX_NANI1_to_2_Migrator
	check_command			check_nt!SERVICESTATE!-d SHOWALL -l Nani_2_Queue\$$TX
	}

#define service{
#	use				production-service
#	host_name			DALSRVPRDIIS02, DALSRVPRDIIS07
#	service_description		IA_Reprocessor
#	display_name	        	IA_Reprocessor
#	check_command			check_nt!SERVICESTATE!-d SHOWALL -l NaniReprocessor\$$IA
#	}

define servicegroup{
	servicegroup_name	Uptime
	alias			Uptime
	}