Page 1 of 4
Unable to generate PDF or JPG reports
Posted: Fri Oct 09, 2015 5:26 am
by mcleodc
Hi,
I am running Nagios XI v5 and am starting trying to generate SLA reports. I can generate reports but get an error when trying to download or email a PDF. If emailed i end up with a 1Kb PDF if downloaded i get the attached error.
Thanks
Chris
Re: Unable to generate PDF or JPG reports
Posted: Fri Oct 09, 2015 12:17 pm
by hsmith
A few things to check here since I was unable to reproduce this:
- -Are you using SSL?
-Can you access the URL that the error is giving you?
--If you can't, can you using the IP address?
-Is this XI5R1.0 or XI5 2.0.0 ?
Re: Unable to generate PDF or JPG reports
Posted: Fri Oct 09, 2015 2:07 pm
by mcleodc
Thanks for the reply.
I am not using SSL and i am running 5.1. I can access the URL it takes me to the report and displays correctly. Just no pdf download.
Thanks
Chris
Re: Unable to generate PDF or JPG reports
Posted: Fri Oct 09, 2015 2:32 pm
by lmiltchev
What is the output of the following commands?
Re: Unable to generate PDF or JPG reports
Posted: Mon Oct 12, 2015 2:43 am
by mcleodc
Here you go
[root@kinnag /]# hostname
kinnag
[root@kinnag /]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 kinnag localhost
::1 localhost6.localdomain6 localhost6
192.168.136.25 edrington.co.uk
[root@kinnag /]#
Thanks
chris
Re: Unable to generate PDF or JPG reports
Posted: Mon Oct 12, 2015 10:17 am
by mcleodc
Hi,
I've upgraded to 5.2 and still see the same issue.
Thanks
chris
Re: Unable to generate PDF or JPG reports
Posted: Mon Oct 12, 2015 1:33 pm
by hsmith
Is there anything interesting happening in your logs when you try to do this?
Run this command:
and then try to generate the report.
Re: Unable to generate PDF or JPG reports
Posted: Tue Oct 13, 2015 2:56 am
by mcleodc
HI,
Nothing at all. I have attached the logs.
Thanks
Chris
Re: Unable to generate PDF or JPG reports
Posted: Tue Oct 13, 2015 9:06 am
by hsmith
Have you tried multiple browsers? It looks like you're using Safari. I want to make sure that's not where the issue is coming from.
Re: Unable to generate PDF or JPG reports
Posted: Tue Oct 13, 2015 9:29 am
by mcleodc
Hi,
I was using chrome on my Windows 7 laptop odd it shows as safari! I have also tried using Firefox.
Thanks
chris