Page 1 of 1

E-Mail was sending, no longer

Posted: Sun Feb 21, 2010 3:49 pm
by airserv
Hello,

Our e-mail alerts were sending just fine, but now all the sudden; they are not. When I view the notification report; it indicates that it was sent out, but it never hits the mailbox. We are using our own SMTP server (Exchange 2003). From the XI server, I can send e-mail from the command line, but something with Nagios isn't currently allowing notifications to work successfully.

Any help would be greatly appreciated.

Re: E-Mail was sending, no longer

Posted: Thu Feb 25, 2010 11:09 pm
by mmestnik
Please see this post.

http://support.nagios.com/forum/viewtop ... =SMTP#p221

I'd like to know if this was appropriate, you failed to provide information. What command line, not where you got the line from but rather what you typed?

NagiosXI uses a command line that looks like this:
echo "Some body of an email" | /bin/mail -s "Some Subject" someemail@address

Re: E-Mail was sending, no longer

Posted: Mon Mar 01, 2010 11:37 am
by admin
What version of XI are you running? Recent versions switch the mailer component to use phpmailer, which may use sendmail or an SMTP server for alerts.

Re: E-Mail was sending, no longer

Posted: Fri Mar 05, 2010 12:40 pm
by airserv
We added an MX Record to our DNS server and then it started to work again. That record wasn't there prior; but never the less; it's working now.

Re: E-Mail was sending, no longer

Posted: Tue Mar 16, 2010 1:26 pm
by admin
Thanks for sending in the report of your fix! Hopefully that will help others if they run into a similar problem.