Page 3 of 3

Re: PDF Reports failing to generate

Posted: Wed Jun 17, 2015 11:50 am
by derekb
Sorry for the double post but I just realized something that may be helpful to know.

If I open up a service that's attached to a host, and click the Performance Graphs tab, I can save the performance graph as a PDF and it saves and renders correctly. Not sure if that is helpful information or not :)

Re: PDF Reports failing to generate

Posted: Wed Jun 17, 2015 2:58 pm
by tgriep
Run this command and post the output here.

Code: Select all

cat /etc/hosts
Does the name of the server and the IP address in the hosts file match the Program / External URL?

I quick test, delete the External URL, save it and see if the report works for you.

Re: PDF Reports failing to generate

Posted: Wed Jun 17, 2015 3:14 pm
by derekb
tgriep wrote:Run this command and post the output here.

Code: Select all

cat /etc/hosts
Does the name of the server and the IP address in the hosts file match the Program / External URL?

I quick test, delete the External URL, save it and see if the report works for you.
Deleting the external URL did not work, the report did not generate.

Code: Select all

[root@nagios ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

Re: PDF Reports failing to generate

Posted: Wed Jun 17, 2015 3:34 pm
by tgriep
Add the IP address and the hostname in the /etc/hosts file and see if the PDF is generated.

Re: PDF Reports failing to generate

Posted: Wed Jun 17, 2015 3:38 pm
by derekb
tgriep wrote:Add the IP address and the hostname in the /etc/hosts file and see if the PDF is generated.
That did the trick! Thank you kindly, sir!

Re: PDF Reports failing to generate

Posted: Wed Jun 17, 2015 3:54 pm
by ssax
Glad that's fixed, marking as resolved and locking the topic.