Pandora FMS Community

Email not sending

brucestclair · 23 abr 2014, 17:38 · 18 mensajes · 70 visitas

  1. Inicio del debate

    I followed the instructions  @ "http://wiki.pandorafms.com/index.php?title=Pandora:Configuration\_emails\_alerts" but no go.  I checked the logs at /var/log/pandora and the logs are not showing it trying to send out mail.  If fact the logs are pretty bare except when I rebooted the server.  This build is the centos appliance,  pandorafms_console-5.0SP3-140419.tar.gz.  Please see the attachment to see the agent fired.

    [

    ](//pandorafms.com/community/media/forum/0/16769=652-mail.PNG)

  2. Hello Check the configuration in your pandora_server.conf file to see if there is an email address configured for the server. Regards Ivo

  3. mta_address localhost #mta_port 25 #mta_user null #mta_pass mypassword #mta_auth LOGIN mta_from Pandora FMS is what I have currently. I based this on the wiki page. Thanks :)

  4. Hello in mta_address put your mail server discoment mta_user and put your email account. discoment mta_pass and put your password (for the acount) discoment mta_auth LOGIN Restart the pandora_server process. Regards Ivo

  5. I am able to get log messages now and they are saying error.  When I look at the maillog log I see postfix is trying to connect to my mail server via the outside ip address on my router, which will never work.  How can I force it to use the local IP adderss of my exchange box?

  6. OK I had to reconfigure my firewall to allow postfix to send smtp through the firewall to connect to my outside ip address and now mail is flowing.

  7. Hello Yes the other solution was to check the connectivity and the firewall. Regards Ivo

  8. Well for some reason email just stopped flowing.  The mailog has no entries.  The pandora_server.log has: 2014-04-30 13:32:02 fms.tbd.local [V1] [ERROR] Sending email to [email protected] with subject [PANDORA] Alert from agent AOC_AOCMAIL on module Exchange POP3 The pandora_server.error log is having issues as well.: Not sure if they are related but will paste the log. 2014-04-30 13:40:09 - fms.tbd.local Starting Pandora FMS Server. Error logging activated. DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 621. DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 597. DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 621. DBD::mysql::db do failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 811. DBD::mysql::db do failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 811. DBD::mysql::db do failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 811. DBD::mysql::db do failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 811. DBD::mysql::db do failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 811. DBD::mysql::st execute failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 621. DBD::mysql::db do failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 811. DBD::mysql::db do failed: MySQL server has gone away at /usr/lib/perl5/PandoraFMS/DB.pm line 811. Perl exited with active threads: 11 running and unjoined 2 finished and unjoined 1 running and detached if I run the command :  echo test |mail -s test [email protected] the mail comes through instantly.

  9. Hello It seems mysql isn't running correctly. Can you try and execute the following command: /etc/init.d/mysqld start  and post here the result. Regards Ivo

  10. The reply is [OK] and I fired an alert and this is what I got in the server log 2014-05-06 16:19:59 fms.tbd.local [V1] [ERROR] Sending email to [email protected] with subject [PANDORA] Alert RECOVERED for CRITICAL status on AOC_AOCMAIL / Exchange tes Service and nothing in the maillog

  11. Hello Can you send me an email with the pandora_server.conf file located in /etc/pandora/ to the following email: [email protected] Where do you have pandora installed? Into a virtual machine or is it a normal system? Regards Ivo

  12. email has been sent.

  13. Hello Can you tell us the updates you commented you made? Regards Ivo

  14. I have attached a screen show of what is running currently and what patches I have applied.

    [

    ](//pandorafms.com/community/media/forum/0/16852=656-pandora1.PNG)

  15. Hello Can you make a screenshot of the configuration made in when creating the alert and the configuration of the action set with that alert. Regards Ivo

  16. I hope this is what you are looking for.  THe system is pretty much default except the pandora_config changes.  Other that that all the actions are what was in there.

    [

    ](//pandorafms.com/community/media/forum/0/16854=657-pandora2.PNG)

    [

    ](//pandorafms.com/community/media/forum/0/16854=658-pandora3.PNG)

  17. Hello Can you check your mail server configuration? From what i've seen on your configuration it should work properly. Please check your local connection settings. Regards Ivo

  18. nothing has changed.  I can send mail from the command line without any issues.

Entra en tu cuenta para publicar.