Hey Everyone,<br><br>I'm using check_dig to verify that certain DNS queries return an expected IP:<br>Example command is:<br>./check_dig -H <a href="http://ns1.domain.com">ns1.domain.com</a> -l <a href="http://www.domain.com">www.domain.com</a> -T A -a 123.123.123.123<br>
<br>If it returns another IP address it shows up as a Warning state, not Critical, and doesn't send an alert.<br><br>It seems the only options to check_dig for warning/critical states are the timeout values for the query. <br>
<br>Should I configure Nagios to send an alert if this service check goes into a Warning state? <br>Any other ideas to have the check_dig or other plugin alert of the expected DNS query returns something else?<br><br>Thanks!<br>
<br>-Philip<br><br><br><br><br>