# This will create a tnsping service for each database of the _databses
# macro of the host. So here $KEY$ will be equal to TEST if you are using
# the sample oracle template
define service{
   service_description    Oracle-$KEY$-corrupted-blocks
   use            	  generic-service,10min_short
   register       	  0
   host_name	  	  oracle
   check_command  	  check_oracle_corrupted_blocks!$KEY$!$VALUE$
   duplicate_foreach	  _databases
}

# This will create a tnsping service for each database of the _databses
# macro of the host. So here $KEY$ will be equal to TEST if you are using
# the sample oracle template
define service{
   service_description    Oracle-$KEY$-corrupted-blocks
   use            	  generic-service
   register       	  0
   host_name	  	  oracle
   check_command  	  check_oracle_corrupted_blocks!$KEY$!$VALUE$
   duplicate_foreach	  _databases
}

Fix generic corrupted block oracle database check
Fix generic corrupted block oracle database check
