Page 1 of 1
Nagios XI - Download JPG and PDF issue
Posted: Tue Nov 10, 2020 11:16 am
by marcf
Hi,
In Nagios Xi, on the report part i'm able to see chart and data for server.
availability.PNG
My issue arrived when trying to download PDF or JPG, i then get no data as you can see on the below image.
pdf_download.PNG
Thanks in advance.
Nagios XI 5.6.10
OS RHEL 7.8
Re: Nagios XI - Download JPG and PDF issue
Posted: Wed Nov 11, 2020 5:41 pm
by ssax
Does it work as an Admin user?
Is your XI AD or LDAP integrated? If so, try doing it with a local account and see if that allows it to work.
Please PM me a copy of your profile, you can download it from Admin > System Profile by clicking the Download Profile button.
Do the other report PDFs work properly?
What is your PHP version?
First backup the file:
Code: Select all
mv /usr/local/nagiosxi/html/includes/utils-reports-export.inc.php /usr/local/nagiosxi/html/includes/utils-reports-export.inc.php.old
Then edit this file:
Code: Select all
/usr/local/nagiosxi/html/includes/utils-reports-export.inc.php
Change this code in line 35 from this:
To this:
Code: Select all
--margin-top 0 --margin-right 0 --margin-bottom 0 --margin-left 0
Then try it again.
Re: Nagios XI - Download JPG and PDF issue
Posted: Thu Nov 12, 2020 3:47 am
by marcf
php -v
PHP 5.4.16 (cli) (built: Apr 1 2020 04:07:17)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
I tried the modification on the file but still got the issue.
I sent you the profile in PM
Re: Nagios XI - Download JPG and PDF issue
Posted: Thu Nov 12, 2020 5:56 pm
by ssax
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: Nagios XI - Download JPG and PDF issue
Posted: Mon Nov 16, 2020 6:38 pm
by ssax
Locking thread, ticket received, we will continue support through the ticket.
Thank you!