I am trying to get a Nagios server to send out messages when ever a server has an issue. I have the Nagios system setup to use its local postfix as a relay to my Exchange 2010 server. When ever I view the /var/log/mail.log I see that my Exchange server is refusing the connection. I believe this is because the firewall is seeing traffic that should be local going out. So I added a MX record to DNS so that mydomain.com resolves to the local Exchange server. When I do a nslookup for the MX record on the Nagios box I still get the outside address instead of the local address. The DNS servers the Nagios box is set to use are correct. The Nagios box does not have a DNS caching service. Is there something else I should be looking for?
I am running on Ubuntu 9.10 Server and Nagios 3.2.0.
I am running on Ubuntu 9.10 Server and Nagios 3.2.0.