Failed to create pdf in Availability Report

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hdurans
Posts: 27
Joined: Wed Nov 20, 2013 11:02 am

Failed to create pdf in Availability Report

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Failed to create pdf in Availability Report

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
hdurans
Posts: 27
Joined: Wed Nov 20, 2013 11:02 am

Re: Failed to create pdf in Availability Report

Post 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,
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Failed to create pdf in Availability Report

Post 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:

Code: Select all

/etc/php.ini
/etc/hosts
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Failed to create pdf in Availability Report

Post 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!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Failed to create pdf in Availability Report

Post by ssax »

Locking thread, ticket received, we will continue support through the ticket.

Thank you!
Locked