Unable to generate PDF or JPG reports

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mcleodc
Posts: 59
Joined: Thu Jan 28, 2010 1:26 pm

Unable to generate PDF or JPG reports

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Unable to generate PDF or JPG reports

Post 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 ?
Former Nagios Employee.
me.
mcleodc
Posts: 59
Joined: Thu Jan 28, 2010 1:26 pm

Re: Unable to generate PDF or JPG reports

Post 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
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Unable to generate PDF or JPG reports

Post by lmiltchev »

What is the output of the following commands?

Code: Select all

hostname
cat /etc/hosts
Be sure to check out our Knowledgebase for helpful articles and solutions!
mcleodc
Posts: 59
Joined: Thu Jan 28, 2010 1:26 pm

Re: Unable to generate PDF or JPG reports

Post 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
mcleodc
Posts: 59
Joined: Thu Jan 28, 2010 1:26 pm

Re: Unable to generate PDF or JPG reports

Post by mcleodc »

Hi,

I've upgraded to 5.2 and still see the same issue.

Thanks
chris
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Unable to generate PDF or JPG reports

Post by hsmith »

Is there anything interesting happening in your logs when you try to do this?

Run this command:

Code: Select all

tail -f /var/log/httpd/access_log
and then try to generate the report.
Former Nagios Employee.
me.
mcleodc
Posts: 59
Joined: Thu Jan 28, 2010 1:26 pm

Re: Unable to generate PDF or JPG reports

Post by mcleodc »

HI,

Nothing at all. I have attached the logs.

Thanks
Chris
You do not have the required permissions to view the files attached to this post.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Unable to generate PDF or JPG reports

Post 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.
Former Nagios Employee.
me.
mcleodc
Posts: 59
Joined: Thu Jan 28, 2010 1:26 pm

Re: Unable to generate PDF or JPG reports

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