xi - Exchange SMTP Mail

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
mtkaschools
Posts: 58
Joined: Tue Sep 14, 2010 7:53 am

xi - Exchange SMTP Mail

Post by mtkaschools »

Hello,

We have Nagios xi 2009R1.3B installed, and working great; except for one piece. We have setup the e-mail alerts to use our exchange server. I am able to send a test message successfully, but no alerts (host/service) get sent out. I see the notification get generated in the reports section, but it never comes through to my mailbox.

In the contact, under 'misc', I changed the template to 'xi_contact_generic' after finding an article that seemed to relate to me. However, that did not correct my issue.

We are a large school district (Minnetonka), and hope to get this issue resolved so that we can finish evaluating the product and make a purchasing decision; but we need the e-mails to successfully send out of Nagiosxi based on the host/service status indicators.

Any help would be greatly appreciated.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA

Re: xi - Exchange SMTP Mail

Post by tonyyarusso »

My first guess would be a configuration issue on the mail server. We've had some people in similar environments discover that Exchange was set up to block messages that didn't fit within particular parameters, and xi's notifications were tripping over those security rules. I'd suggest looking through the Exchange logs to see if the messages are at least getting to the SMTP server, and work from there.

(Also note that there are two options for sending notifications listed under Admin > Manage Email Settings, Sendmail and SMTP - if one doesn't work the other might.)
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: xi - Exchange SMTP Mail

Post by mmestnik »

This is related to the nagiosadmin contact template. It should be changed from "generic-contact" to "xi_contact_generic".
mtkaschools
Posts: 58
Joined: Tue Sep 14, 2010 7:53 am

Re: xi - Exchange SMTP Mail

Post by mtkaschools »

I actually ended up finding my own answer. On the Nagiosxi side, I had everything correct for SMTP, and my test message sent properly. However, I found an article that said to look at the sendmail configuration on the server side, and to make sure the SMART_HOST dns name was set properly. Sure enough, I looked, and it was set to the default, not our SMTP server. Once I changed that, I was almost done.

Then yes, I had to change the template from the default to the xi template on the user accounts. Once I did that, e-mail started to flow in immediately. I was happy.

Now, one more issue, and I'll have a complete monitoring solution. I'll post that issue in a new topic.