check_mx plugin?

August Simonelli augusts at gmail.com
Fri Jul 27 07:32:17 CEST 2007


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:

check_dig -H SERVER -l cnn.com -T mx -a nycmail1.turner.com

so this would expect the string "nycmail1.turner.com" to be in the answer
section ...

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 ...



On 7/27/07, Rogelio Bastardo <scubacuda at gmail.com> wrote:
>
> On various DNS servers, I'd like to make sure that a certain A records
> remains the 10 record (or, at least, the first deliverable mail server),
> and then alert me when that changes.
>
> Any idea how to do this with Nagios?  From what I can tell, the
> check_dns plugin does not have this functionality.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070727/99cbac5b/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list