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
Reporting PDF/CSV/Email is not working
-
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
Can you tail the following log while trying again to see if any errors emerge
Thx
Code: Select all
tail -f /var/log/httpd/error_logRe: Reporting PDF/CSV/Email is not working
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
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 -lRe: Reporting PDF/CSV/Email is not working
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
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
Re: Reporting PDF/CSV/Email is not working
Run the following command in terminal to start capturing the output:
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.
Code: Select all
tail -f /var/log/httpd/error_log &> debug.txtAfter 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!
Re: Reporting PDF/CSV/Email is not working
debug.txt attached.
You do not have the required permissions to view the files attached to this post.
Re: Reporting PDF/CSV/Email is not working
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:
Run the following commands, and show us the output:
Code: Select all
ll /usr/local/nagiosxi/html/includes/js
cat /etc/group | grep nagBe sure to check out our Knowledgebase for helpful articles and solutions!