define command {
  command_name check_dns_upjs
  command_line $USER1$/check_dns -H www.upjs.sk -s $HOSTADDRESS$
}
define command {
  command_name check_dns_science
  command_line $USER1$/check_dns -H www.science.upjs.sk -s $HOSTADDRESS$
}
define command {
  command_name check_dns_medic
  command_line $USER1$/check_dns -H www.medic.upjs.sk -s $HOSTADDRESS$
}

dnsupjs="define service {
  use service_templ_grp_$2
  host_name $1
  service_description DNS
  check_command check_dns_upjs
}"
dnsscience="define service {
  use service_templ_grp_$2
  host_name $1
  service_description DNS
  check_command check_dns_science
}"
dnsmedic="define service {
  use service_templ_grp_$2
  host_name $1
  service_description DNS
  check_command check_dns_medic
}"
