Page 1 of 1

Failed to create PDF

Posted: Tue Sep 01, 2020 1:29 pm
by fgaadmin
Failed to create PDF report

Verify that your Nagios XI server can connect to the URL:
https://localhost/nagiosxi/reports/avai ... r_compat=1

[root@nagiosxi ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
#127.0.0.1 nagiosxi
#192.168.30.66 nagiosxi.fga.local nagiosxi
#192.168.30.1 router

Re: Failed to create PDF

Posted: Wed Sep 02, 2020 1:57 pm
by benjaminsmith
Hi,

Is this happening for all the reports or just the availability report? If so, what are the permissions on the file?

Code: Select all

ls -la /usr/local/nagiosxi/html/reports/availability.php
The server connects to itself internally to call the report, and the etc/hosts file looks correct but I would recommend trying to change the Program and External URL to the IP address in case it's not resolving correctly.

Next, please run the following tail command and try to generate the report as before and post the full output to the thread.

Code: Select all

tail -f /var/log/httpd/error_log /var/log/httpd/ssl_error_log
Lastly, please send me the system profile. Thanks, Benjamin

To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message or upload it to the post/ticket, and then reply to this post to bring it up in the queue.