i think check_dig might start things off ... you can ask a name server for an MX record and specify what you expect in the answer section with the -a flag:<br><br>check_dig -H SERVER -l <a href="http://cnn.com">cnn.com</a>
 -T mx -a <a href="http://nycmail1.turner.com">nycmail1.turner.com</a><br><br>so this would expect the string "<a href="http://nycmail1.turner.com">nycmail1.turner.com</a>" to be in the answer section ...<br><br>
but i can only see how to get the lowest MX record with check_dig so seeing higher MX may require  a little extra work ...<br><br><br><br><div><span class="gmail_quote">On 7/27/07, <b class="gmail_sendername">Rogelio Bastardo
</b> <<a href="mailto:scubacuda@gmail.com">scubacuda@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On various DNS servers, I'd like to make sure that a certain A records
<br>remains the 10 record (or, at least, the first deliverable mail server),<br>and then alert me when that changes.<br><br>Any idea how to do this with Nagios?  From what I can tell, the<br>check_dns plugin does not have this functionality.
<br><br>-------------------------------------------------------------------------<br>This SF.net email is sponsored by: Splunk Inc.<br>Still grepping through log files to find problems?  Stop.<br>Now Search log events and configuration files using AJAX and a browser.
<br>Download your FREE copy of Splunk now >>  <a href="http://get.splunk.com/">http://get.splunk.com/</a><br>_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">
Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>