Greetings!
Nagios XI 2011R2.2
Tried to export a report to PDF this morning (Availability Summary) and received this:
FPDF error: Not a PNG file: /tmp/availabilityurCj6q.png
This may have happened after upgrading, but I'm not positive.
Thoughs or suggestions?
Thanks!
Reporting - Export to PDF broken...
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Reporting - Export to PDF broken...
Just to verify a couple things so we can try to reproduce the error...
Does the Report show properly in HTML with the images?
What period was the report for? If custom, what dates?
Was it limited to any hosts, hostgroups, or servicegroups?
Does the Report show properly in HTML with the images?
What period was the report for? If custom, what dates?
Was it limited to any hosts, hostgroups, or servicegroups?
Re: Reporting - Export to PDF broken...
Hi!
Yes, displays HTML properly...
Doesn't matter what time frame I select, last 24 hours or last week are 2 that I've tried.
Doesn't matter if I limit to host or host group, same error.
As soon as I click the PDF Icon I receive the error message...
Export to CSV is working just fine.
Thanks!
Yes, displays HTML properly...
Doesn't matter what time frame I select, last 24 hours or last week are 2 that I've tried.
Doesn't matter if I limit to host or host group, same error.
As soon as I click the PDF Icon I receive the error message...
Export to CSV is working just fine.
Thanks!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Reporting - Export to PDF broken...
Two more things I would like to verify,
Do you see pie charts in the HTML Display?
Can you look at your /etc/php.ini and verify
Finally, if this doesn't resolve the issue, can you look at the httpd error_log and see if anything stands out
Do you see pie charts in the HTML Display?
Can you look at your /etc/php.ini and verify
Code: Select all
display_errors = OffCode: Select all
tail -f /var/log/httpd/error_logRe: Reporting - Export to PDF broken...
Ahhh, yes and yes... Appears to be an FQDN thing but being a Linux n00b I'm not quite sure how to correct it...
If I use the short name, I reveive the error. If I use the FQDN i get the report jsut fine.
Do I need ot make adjustments to the network config?
Thanks!
If I use the short name, I reveive the error. If I use the FQDN i get the report jsut fine.
Do I need ot make adjustments to the network config?
Thanks!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Reporting - Export to PDF broken...
you might have to adjust you /etc/hosts file
see if the following has your "shortname" in it on the line starting with 127.0.0.1
if not, adding it to the end of that line may make the difference.
see if the following has your "shortname" in it on the line starting with 127.0.0.1
Code: Select all
cat /etc/hosts
Re: Reporting - Export to PDF broken...
Thanks Scott, that did the trick ! ! ! Able to create reports again without FQDN... 