Page 1 of 1
Failed to create pdf in Availability Report
Posted: Tue Mar 16, 2021 10:07 am
by hdurans
Hi,
today I found this problem with nagios xi when I download to pdf availability report.
I have this issue.
error.png
The error only present when selected a hostgroup, the report display correctly, but when I try to download to pdf file the error appear.
thanks for your help
Re: Failed to create pdf in Availability Report
Posted: Wed Mar 17, 2021 10:02 am
by lmiltchev
What is the version of Nagios XI that you are currently using? What OS/distro? Is this a fresh install or an upgrade?
Do you have
PDF/JPG Exporting tab under the
Performance Settings page (Admin > System Config > Performance Settings)? If you do, can you show us a screenshot of the page?
Also, show us what you have defined as a
Program and
External URL under the
System Settings page.
Run the following commands and show the output in code wraps:
Code: Select all
grep 'use_https\|compat' /usr/local/nagiosxi/html/config.inc.php
tail -100 /var/log/httpd/error_log
or
Code: Select all
tail -100 /var/log/apache2/error.log
depending on the OS.
Have you tried increasing the resource limits in the php.ini by following the steps, outlined in our KB article on the topic?
https://support.nagios.com/kb/article/n ... e-611.html
Re: Failed to create pdf in Availability Report
Posted: Mon Mar 22, 2021 8:42 am
by hdurans
lmiltchev wrote:What is the version of Nagios XI that you are currently using? What OS/distro? Is this a fresh install or an upgrade?
Do you have
PDF/JPG Exporting tab under the
Performance Settings page (Admin > System Config > Performance Settings)? If you do, can you show us a screenshot of the page?
Also, show us what you have defined as a
Program and
External URL under the
System Settings page.
Run the following commands and show the output in code wraps:
Code: Select all
grep 'use_https\|compat' /usr/local/nagiosxi/html/config.inc.php
tail -100 /var/log/httpd/error_log
or
Code: Select all
tail -100 /var/log/apache2/error.log
depending on the OS.
Have you tried increasing the resource limits in the php.ini by following the steps, outlined in our KB article on the topic?
https://support.nagios.com/kb/article/n ... e-611.html
Hi,
I'm using 5.7.2 Version is a fresh install and O.S. is Centos 7.9
In performance settings don't have this tap
performance.png
In php.ini, I increscent values of max_time and memory
Thanks for your help,
Re: Failed to create pdf in Availability Report
Posted: Mon Mar 22, 2021 5:21 pm
by ssax
I would upgrade to the latest (XI 5.8.2) to get the latest bug fixes and see if that resolves it.
Please PM me a copy of your profile, you can download it from Admin > System Profile by clicking the Download Profile button.
Please attach these files:
Re: Failed to create pdf in Availability Report
Posted: Tue Mar 23, 2021 6:33 pm
by ssax
I replied via PM, please read your private messages.
If those changes do not fix the issue, please create a ticket for this and include a link back to this forum thread so we can get a remote session setup:
https://support.nagios.com/tickets/
Thank you!
Re: Failed to create pdf in Availability Report
Posted: Thu Mar 25, 2021 1:58 pm
by ssax
Locking thread, ticket received, we will continue support through the ticket.
Thank you!