I am having some problems with the check_dns plugin. I'm trying to check the DNS service on a couple of active directory Windows servers.
Here's the entry from command.cfg:
'check_dns' command definition
command_line $USER1$/check_dns -H www.somesite.com -s $HOSTADDRESS$
And the entry from services.cfg:
The error I'm getting is:
DNS CRITICAL - '/usr/local/bin/nslookup -sil' output parsing exited with no address
SERVICE ALERT: UTILPRD001;DNS;CRITICAL;HARD;4;DNS CRITICAL - '/usr/local/bin/nslookup -sil' output parsing exited with no address
I checked the paths and nslookup is indeed in /usr/local/bin.
Is there a problem with my syntax?