Hi,
In Nagios xi, on the report part i'm able to see chart and data for server.
My issue arrived when trying to download PDF or JPG, i then get no data as you can see on the below image.
Thanks in advance.
Nagios xi 5.6.10
OS RHEL 7.8
Nagios xi - Download JPG and PDF issue
-
- Posts: 14
- Joined: Mon Dec 11, 2017 7:46 am
Nagios xi - Download JPG and PDF issue
You do not have the required permissions to view the files attached to this post.
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: Nagios xi - Download JPG and PDF issue
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:
Then edit this file:
Change this code in line 35 from this:
To this:
Then try it again.
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?
Code: Select all
php -v
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
Code: Select all
/usr/local/nagiosxi/html/includes/utils-reports-export.inc.php
Code: Select all
--margin-bottom 15mm
Code: Select all
--margin-top 0 --margin-right 0 --margin-bottom 0 --margin-left 0
-
- Posts: 14
- Joined: Mon Dec 11, 2017 7:46 am
Re: Nagios xi - Download JPG and PDF issue
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
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
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: Nagios xi - Download JPG and PDF 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!
https://support.nagios.com/tickets/
Thank you!
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: Nagios xi - Download JPG and PDF issue
Locking thread, ticket received, we will continue support through the ticket.
Thank you!
Thank you!