SMTP notification thru MX lookup

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ataro
Posts: 1
Joined: Mon Oct 10, 2011 8:39 pm

SMTP notification thru MX lookup

Post by ataro »

I am not an unix expert, I need some assistance/ideas in seting up SMTP email routing from Nagios server. We have setup nagios for monitoring various devices and its working fine sending email alerts whenever there is a problem with the the devices being monitored. In the current settings, there is a sendmail service which is hard coded to forward emails to one particular smtp gateway. Now the problem is if this SMTP gateway goes down, nagios is unable to send email alerts. Is there any way to configure multiple SMTP gateways? Or is it possible to route emails from Nagios server by MX lookup (through DNS) instead of hard coding SMTP gateways?

Appreciate some links for this settings.

Thank You,
Locked