PDF Reports failing to generate

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
derekb
Posts: 177
Joined: Wed Jun 10, 2015 1:54 pm

Re: PDF Reports failing to generate

Post 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 :)
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: PDF Reports failing to generate

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
derekb
Posts: 177
Joined: Wed Jun 10, 2015 1:54 pm

Re: PDF Reports failing to generate

Post 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
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: PDF Reports failing to generate

Post by tgriep »

Add the IP address and the hostname in the /etc/hosts file and see if the PDF is generated.
Be sure to check out our Knowledgebase for helpful articles and solutions!
derekb
Posts: 177
Joined: Wed Jun 10, 2015 1:54 pm

Re: PDF Reports failing to generate

Post 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!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: PDF Reports failing to generate

Post by ssax »

Glad that's fixed, marking as resolved and locking the topic.
Locked