Page 2 of 2
Re: Empty reports attached to mail
Posted: Wed May 19, 2021 2:29 am
by ancert
Hi,
We have try to send reports again, but there is no file generated

Re: Empty reports attached to mail
Posted: Wed May 19, 2021 10:49 am
by gsmith
Hi,
Try to send a report again. Wait about 10 minutes, then:
as root on the server:
Code: Select all
cd /tmp
tar cvzf httpd.tar.gz /var/log/httpd
Send me the httpd.tar.gz file as well as /etc/php.ini file and
/usr/local/nagiosxi/html/config.inc.php file.
Thanks
Re: Empty reports attached to mail
Posted: Thu May 20, 2021 12:05 pm
by gsmith
Hi,
First, please check the permissions on /usr/local/nagiosxi/tmp/ and make sure user 'nagios'
can write a file there:
(as root on the server)
Code: Select all
su nagios
cd /usr/local/nagiosxi/tmp/
touch test.txt
ls -l
you should see: -rw-rw-r-- 1 nagios nagios 0 May 20 12:00 test.txt
If that checks out I'd like to fix the certificate error as that keeps showing up in error_log during
report generation. Please follow this documentation:
https://assets.nagios.com/downloads/nag ... gIR4PD_BwE
Once that is done try sending a report.
If you get stuck anywhere let me know.
Thanks
Re: Empty reports attached to mail
Posted: Fri May 21, 2021 5:17 am
by ancert
Hi gsmith,
We have review about tmp permissions and seems ok. We already have configured the certificate as explained in this document, but bellow, we see that the "Program url" and "External url" in "System Settings" are not correct, both are filled, but not with correct url.
After change the urls, reports are received correctly.
Thanks for your support.