Reporting PDF/CSV/Email is not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Reporting PDF/CSV/Email is not working

Post by ecarrasq »

Linux Distribution and version? CentOS, 2.6.18-308.16.1.el5PAE
32 or 64bit? 32bit
VMware Image or Manual Install of XI? VMware Image
Are there specials configurations on your system, ie; is Gnome installed? No
Are you using a proxy? No
Are you using SSL? Yes, to log into the web console via browser, https is required.
Nagios Version? NagiosXi 2012R1.3

When I try to export any report to PDF/CSV, or even when I try to email and/or schedule a report to email, it comes out blank.

Please help.

Thanks,
Eddie
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Reporting PDF/CSV/Email is not working

Post by scottwilkerson »

Can you tail the following log while trying again to see if any errors emerge

Code: Select all

tail -f /var/log/httpd/error_log
Thx
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Re: Reporting PDF/CSV/Email is not working

Post by ecarrasq »

httpd error log attached
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Reporting PDF/CSV/Email is not working

Post by slansing »

It looks like you are getting some permissions conflicts within your html directory, please run the following and let me know the output when you tail afterwords:

Code: Select all

s -l /usr/local/nagiosxi/html/

chage apache -l

chage nagios -l
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Re: Reporting PDF/CSV/Email is not working

Post by ecarrasq »

ll /usr/local/nagiosxi/html/
total 248
drwxr-x--- 2 nagios nagios 4096 Jan 11 2010 about
drwxr-x--- 2 nagios nagios 4096 Mar 22 2010 account
drwxr-x--- 2 nagios nagios 4096 Jan 11 2010 addons
drwxr-x--- 2 nagios nagios 4096 Nov 2 10:36 admin
-rwxr-x--- 1 nagios nagios 19681 Jan 8 09:57 ajaxhelper.php
-rwxr-x--- 1 nagios nagios 1533 Jan 8 09:57 ajaxproxy.php
drwxr-x--- 3 nagios nagios 4096 Jun 12 2012 backend
drwxr-x--- 3 nagios nagios 4096 Mar 22 2012 config
-rwxr-x--- 1 nagios nagios 7890 Jan 8 09:57 config.inc.dist
-rwxr-x--- 1 nagios nagios 5170 Jan 8 09:57 config.inc.php
-rwxr-x--- 1 nagios nagios 5170 Jan 8 09:57 config.inc.saved
-rwxr-x--- 1 nagios nagios 216 Nov 2 10:36 cookie.txt
drwxr-x--- 2 nagios nagios 4096 Jan 11 2010 dashboards
drwxr-x--- 4 nagios nagios 4096 Jan 11 2010 db
drwxr-x--- 3 nagios nagios 4096 Jan 11 2010 downloads
drwxr-x--- 2 nagios nagios 4096 Jan 11 2010 help
drwxr-x--- 2 nagios nagios 4096 Nov 2 10:36 images
drwxr-x--- 11 nagios nagios 4096 Nov 2 11:41 includes
-rwxr-x--- 1 nagios nagios 997 Jan 8 09:57 index.php
-rwxr-x--- 1 nagios nagios 6785 Jan 8 09:57 install.php
-rwxr-x--- 1 nagios nagios 83671 Jan 8 09:57 login.php
-rw------- 1 nagios nagios 2212 Jan 8 09:57 loginsplash.inc.php
drwxr-x--- 2 nagios nagios 4096 Jan 11 2010 perfgraphs
drwxr-x--- 2 nagios nagios 4096 Apr 27 2012 reports
-rwxr-x--- 1 nagios nagios 15219 Jan 8 09:57 rr.php
-rwxr-x--- 1 nagios nagios 6332 Jan 8 09:57 suggest.php
drwxr-x--- 2 nagios nagios 4096 Jan 5 2012 tools
-rwxr-x--- 1 nagios nagios 3490 Jan 8 09:57 upgrade.php
drwxr-x--- 2 nagios nagios 4096 Jan 11 2010 views


chage apache -l
Last password change : Jan 08, 2010
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7


chage nagios -l
Last password change : Jan 11, 2010
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Reporting PDF/CSV/Email is not working

Post by lmiltchev »

Run the following command in terminal to start capturing the output:

Code: Select all

tail -f /var/log/httpd/error_log &> debug.txt
Then from the Nagios XI web interface, go to: Reports->Availability->Download As PDF

After the browser has returned some output to the screen, press Ctrl+C to stop the log tail, and post the "debug.txt" file that was generated by the above instructions.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Re: Reporting PDF/CSV/Email is not working

Post by ecarrasq »

debug.txt attached.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Reporting PDF/CSV/Email is not working

Post by lmiltchev »

You have some certificate errors in the debug.txt. Did you follow our documentation while configuring SSL with Nagios XI?

Run the following commands, and show us the output:

Code: Select all

ll /usr/local/nagiosxi/html/includes/js
cat /etc/group | grep nag
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked