Empty reports attached to mail

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ancert
Posts: 9
Joined: Wed Nov 07, 2018 4:11 am

Re: Empty reports attached to mail

Post by ancert »

Hi,

We have try to send reports again, but there is no file generated :(
You do not have the required permissions to view the files attached to this post.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Empty reports attached to mail

Post 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
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Empty reports attached to mail

Post 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
ancert
Posts: 9
Joined: Wed Nov 07, 2018 4:11 am

Re: Empty reports attached to mail

Post 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.
Locked