Failed to create PDF report

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Naveed
Posts: 285
Joined: Mon May 30, 2016 10:10 am

Failed to create PDF report

Post by Naveed »

Hello,

I am unable to get availability report as pdf document.
Getting below error message.


Please help.

Thank you
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Failed to create PDF report

Post by Box293 »

In your screenshot you've blanked out the server address.

Can you go to Admin > System Config > Manage System Config

What is in your "Program URL" and "External URL" fields?

At the command prompt of XI I'll get you to run some tests. Please run this command to ensure a trouble shooting command I am going to use is installed:

Code: Select all

yum install -y bind-utils
Now type the following commands:

Code: Select all

host xxxx
host yyyy
Where:
xxxx = Program URL
yyyy= External URL

Please post the results.

Also, type the following command:

Code: Select all

tail -f /var/log/httpd/error_log
Now try and generate the PDF report.
What appears in the SSH session when the report runs?

How long does it take before the error appears?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Naveed
Posts: 285
Joined: Mon May 30, 2016 10:10 am

Re: Failed to create PDF report

Post by Naveed »

Thank you!


I have updated bind-utils on nagios server.

Program URL
http://40.112.151.161/nagiosxi/

No External URL is defined in my settings, required field is empty.

[root@AXmonitor vmn]# host http://40.112.151.161/nagiosxi/
http://40.112.151.161/nagiosxi/ has address 104.239.213.7
http://40.112.151.161/nagiosxi/ has address 198.105.244.11



[root@AXmonitor vmn]# tail -f /var/log/httpd/error_log
[Mon Jul 11 03:25:05.046714 2016] [auth_digest:notice] [pid 1332] AH01757: generating secret for digest authentication ...
[Mon Jul 11 03:25:05.079171 2016] [lbmethod_heartbeat:notice] [pid 1332] AH02282: No slotmem from mod_heartmonitor
[Mon Jul 11 03:25:05.206252 2016] [mpm_prefork:notice] [pid 1332] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.16 configured -- resuming normal operations
[Mon Jul 11 03:25:05.206279 2016] [core:notice] [pid 1332] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
Naveed
Posts: 285
Joined: Mon May 30, 2016 10:10 am

Re: Failed to create PDF report

Post by Naveed »

Great Box293!

Your hint worked for me.
I must appreciate it.

Thank you!

You may close this thread.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Failed to create PDF report

Post by mcapra »

Closing this per your request.
Former Nagios employee
https://www.mcapra.com/
Locked