Pandora FMS community forums
Trouble with email alerts and exchange - Printable Version

+- Pandora FMS community forums (https://pandorafms.org/forum)
+-- Forum: Pandora FMS (https://pandorafms.org/forum/forum-3.html)
+--- Forum: Advanced troubleshooting and problems (https://pandorafms.org/forum/forum-11.html)
+--- Thread: Trouble with email alerts and exchange (/thread-7438.html)

Pages: 1 2


Trouble with email alerts and exchange - r3volol - 04-16-2014

I can't seem to get email alerts to send through my exchange 2010 server. Here are the settings I have in /etc/pandora/pandora_server.conf :

mta_address 10.48.1.6
mta_port 25
mta_user [email protected]
mta_pass ***********
mta_auth LOGIN
mta_from Pandora FMS <[email protected]>

Is there anything else I'm missing?


Re: Trouble with email alerts and exchange - ivo_yordanov - 04-21-2014

Hello

The mta_address should be the mail server address not the ip. It might be mail.utfcu.org or [email protected]  for an example.

Regards
Ivo


Re: Trouble with email alerts and exchange - r3volol - 04-21-2014

changed mta_address to:

mta_address webmail.utfcu.org

I then rebooted the server but am still not receiving alert messages.

This is the same address we use to setup phones to use email.


Re: Trouble with email alerts and exchange - ivo_yordanov - 04-21-2014

Hello

In the mta_user you should input a valid user account for your mail server. Then restart the pandora_server (sudo /etc/init.d/pandora_server restart). You should edit the action for the alert inputing the email where you want the email to be received. Once done force the execution of the alert.

Regards
Ivo


Re: Trouble with email alerts and exchange - r3volol - 04-21-2014

I have the alert setup correctly and performed all of the steps you have outlined but still no luck receiving the alert. I have verified I can login to our OWA with the [email protected] account.

Are there any logs that might shed some light on what the problem is?


Re: Trouble with email alerts and exchange - ivo_yordanov - 04-22-2014

Hello

There are logs of pandora located at /var/log/pandora/. Try setting up a gmail acount in your pandora server conf file. You should also test if the machine where the server is being installed has conectivity and if the acount of [email protected] can sent messages. Take a look at the mta_port you might be using a different port rather than the port 25.

Regards
Ivo


Re: Trouble with email alerts and exchange - r3volol - 04-23-2014

I have verified that port 25 is the working port for SMTP. I also have sent a successful telnet email from the PandoraFMS server using [email protected] to my personal email. Seems to be something with Pandora.

The log shows the following error:

2014-04-22 18:17:29 localhost.localdomain [V1] [ERROR] Sending email to [email protected] with subject [PANDORA] Alert RECOVERED for CRITICAL status on WEST - ROUTER / Host Latency


Re: Trouble with email alerts and exchange - brucestclair - 04-23-2014

If you are trying to relay through exchange you may have to setup a new hub transport to allow relaying.
Here is what I have used to setup for relaying from other internal servers to allow them to pass email through my exchange 2010 boxes.

http://exchangeserverpro.com/how-to-configure-a-relay-connector-for-exchange-server-2010/

Also you can set a fake user name /email account in ad.  something like [email protected]  Then search the logs for zorro.  Make it easier to find the log entries this way.


Re: Trouble with email alerts and exchange - r3volol - 04-23-2014

I followed that and created a new relay (already had a relay setup, but never though to create one specifically for the PandoraFMS server), but I am still not getting alerts and the same error message is being logged on the Pandora FMS server. Any other suggestions? I wish Pandora gave a little more informative error.


Re: Trouble with email alerts and exchange - brucestclair - 04-23-2014

Wish I could help more.  I am not even getting log messages.  I have another post in these forums for sending email issues.  Currently I am trying to get the default setup to work.  I have reconfigured the firewall to let FMS got out to the web but still no logs for me.

Did you telnet from the FMS server to the exchange server to send a test email out that way?