Page 2 of 2

Re: Scheduled Report Log

Posted: Mon Apr 26, 2021 9:15 am
by ssax
Doesn't look like it, please enable SMTP debug logging and use the send a test email button in Admin > Email Settings, and send us the full output.

https://support.nagios.com/kb/article/p ... g-820.html

One thing I would check is the attachment size limit on your mail server, there is a chance some of the reports exceed your mail server's attachment size limit and could fail. All of them failing wouldn't likely be that so we'll need to get the debug output to see what's occurring now but I'm wondering if those individual ones failing before if that's what occurred. You would need to check the mail server's logs for additional info, have your mail admins run a trace on one of the reports and see what the mail server logs show.

Re: Scheduled Report Log

Posted: Tue Jun 08, 2021 3:53 pm
by acentek
ssax wrote:You're running PHP 5.4, given you're using TLS I would upgrade to PHP 7 following the guide below:

https://support.nagios.com/kb/article/n ... 7-860.html

Taken from the link above:
Note: PHP Mailer requires PHP 5.6 or higher to use a TLS 1.2 connection.
You can also try changing the port from 25 to 587 in the XI settings and see if that helps, I had a customer that did that and it resolved it for them as well.
I have been slowly looking at upgrading PHP. We have tried to update to PHP 7 but a Nagios Dependency is hindering me from doing the update. We have enabled the php70 repo so a yum update will attempt the update.

--> Finished Dependency Resolution
Error: Package: nagiosxi-deps-el7-5.7.5-1.noarch (@/nagiosxi-deps-el7-5.7.5-1.noarch)
Requires: php-mssql
Removing: php-mssql-5.4.16-9.el7.x86_64 (@epel)
php-mssql = 5.4.16-9.el7
Obsoleted By: php-pdo-dblib-7.0.33-26.el7.remi.x86_64 (remi-php70)
Not found
Available: php-mssql-5.4.16-7.el7.x86_64 (nagiosxi-deps)
php-mssql = 5.4.16-7.el7

Any suggestions?
Thanks!

Re: Scheduled Report Log

Posted: Wed Jun 09, 2021 2:04 pm
by ssax
You're skipping the very first steps of the guide directly related to the nagiosxi-deps package it's complaining about:

https://support.nagios.com/kb/article/n ... 7-860.html

But before you do that, send the output of this command:

Code: Select all

rpm -qa | grep nagiosxi

Re: Scheduled Report Log

Posted: Thu Jun 10, 2021 11:23 am
by acentek
Yep didn't see the "must be on php 5.5" part. Thanks

[root@nagios ~]# rpm -qa | grep nagiosxi
nagiosxi-deps-el7-5.7.5-1.noarch
[root@nagios ~]#

Re: Scheduled Report Log

Posted: Fri Jun 11, 2021 9:58 am
by ssax
You need to do these:

Code: Select all

yum -y install epel-release wget
yum remove nagiosxi-deps* -y
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
Then follow the rest of the directions from the guide.

Re: Scheduled Report Log

Posted: Fri Jun 11, 2021 10:02 am
by gsmith
Hi,

Since PHPmailer is being used to send the reports then it definitely could be PHP related.

Were you able to perform the PHP upgrade?

Thanks