DNS CRITICAL - '/usr/bin/nslookup -sil' msg parsing exited w
Posted: Thu Jun 20, 2013 9:26 am
I changed our DNS server for Nagios this morning. Ever since I am gettign this error with our DNS servers "DNS CRITICAL - '/usr/bin/nslookup -sil' msg parsing exited with no address." I changed the DNS serevr back on Nagios to the original one but the error is still there, I have restarted nagios but to no avail. Seems like it should just be a simple reload of someting but I am not sure. Any help would be greatly appreciated.
# 'check_dns' command definition
define command{
command_name check_dns
command_line $USER1$/check_dns -H http://www.google.com -s $HOSTADDRESS$ $ARG1$
}
define service{
use local-service ; Name of service template to use
host_name ns1-cache,ns2-cache,ns1-auth,ns2-auth,opendns1,opendns2
service_description DNS
check_command check_dns
max_check_attempts 3
event_handler restart-win-dns
}
# 'check_dns' command definition
define command{
command_name check_dns
command_line $USER1$/check_dns -H http://www.google.com -s $HOSTADDRESS$ $ARG1$
}
define service{
use local-service ; Name of service template to use
host_name ns1-cache,ns2-cache,ns1-auth,ns2-auth,opendns1,opendns2
service_description DNS
check_command check_dns
max_check_attempts 3
event_handler restart-win-dns
}