Re: NagiosXI Emails Stoped working
Posted: Thu Nov 21, 2019 1:39 pm
Good day:
the phpmailer.log is the entire log, the notification never was sent to us
You keep mention the phpmailer troubleshooting page, but where would i see these debug messages to troubleshoot? If i run the command by hand for notifications, i get no output no errors nor know where i should see them. /var/log/messages? nagios.log? Please advise troubleshooting steps that i should do because would love to troubleshoot this to help get this going. Its already been a week since it stopped working
On my second post of this thread:However, the failed connections are over either SSL or TLS on port 25. Usually encyrptied connections use another port such as 587 or 465. Can you verify the port settings with your mail admin?
There is no SSL enabled/enforced. We were doing testing enabling them to see if thats why we were having problemsErrors in this log about ssl/tls were us testing,
the phpmailer.log is the entire log, the notification never was sent to us
Code: Select all
[root@lp-dc1-nagn1 etc]# tail -n 50 /usr/local/nagiosxi/tmp/phpmailer.log
[11-19-2019 13:54:00] Message sent! (method=smtp;host=smtpmailroute.saskpower.sk.ca;port=25;security=none), Referer: admin/testemail.php
[11-19-2019 13:54:19] Message sent! (method=smtp;host=smtpmailroute.saskpower.sk.ca;port=25;security=none), Referer: admin/testemail.php
[11-19-2019 13:59:48] Message sent! (method=smtp;host=smtpmailroute.saskpower.sk.ca;port=25;security=none), Referer: admin/testemail.php
[11-19-2019 14:06:55] Message sent! (method=smtp;host=smtpmailroute.saskpower.sk.ca;port=25;security=none), Referer: admin/testemail.php
[11-19-2019 14:15:42] Message sent! (method=smtp;host=smtpmailroute.saskpower.sk.ca;port=25;security=none), Referer: admin/testemail.php
[11-19-2019 14:16:40] Message sent! (method=smtp;host=172.30.4.111;port=25;security=none), Referer: admin/testemail.php
[11-19-2019 14:18:50] Message sent! (method=smtp;host=172.30.4.112;port=25;security=none), Referer: admin/testemail.php
[11-19-2019 14:22:09] Message sent! (method=smtp;host=172.30.4.112;port=25;security=none), Referer: admin/testemail.php
[11-19-2019 14:30:40] Message sent! (method=sendmail), Referer: admin/testemail.php
[11-19-2019 14:32:11] Message sent! (method=sendmail), Referer: admin/testemail.php
[11-19-2019 14:42:23] Message sent! (method=smtp;host=smtpmailroute.saskpower.sk.ca;port=25;security=none), Referer: admin/testemail.php
[11-19-2019 14:48:10] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting (method=smtp;host=smtpmailroute.saskpower.sk.ca;port=25;security=tls), Referer: admin/testemail.php
[11-19-2019 14:48:24] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting (method=smtp;host=smtpmailroute.saskpower.sk.ca;port=25;security=ssl), Referer: admin/testemail.php
[11-20-2019 08:26:24] Message sent! (method=smtp;host=smtpmailroute.saskpower.sk.ca;port=25;security=none), Referer: admin/testemail.php
[11-20-2019 09:25:33] Message sent! (method=smtp;host=smtpmailroute.saskpower.sk.ca;port=25;security=none), Referer: admin/testemail.php
[11-20-2019 09:39:22] Message sent! (method=smtp;host=smtpmailroute.saskpower.sk.ca;port=25;security=none), Referer: account/testnotification.php > PHPmailer Test
[11-20-2019 09:39:42] Message sent! (method=smtp;host=smtpmailroute.saskpower.sk.ca;port=25;security=none), Referer: account/testnotification.php > PHPmailer Test
[11-20-2019 12:21:56] Message sent! (method=smtp;host=smtpmailroute.saskpower.sk.ca;port=25;security=none), Referer: account/testnotification.php > PHPmailer Test
[11-21-2019 08:09:45] Message sent! (method=smtp;host=smtpmailroute.saskpower.sk.ca;port=25;security=none), Referer: account/testnotification.php > PHPmailer Test
[root@lp-dc1-nagn1 etc]# date
Thu Nov 21 12:34:21 CST 2019