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

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