Can't open reports page

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Can't open reports page

Post by niebais »

I am having problems opening the reports page in my customer's Nagios installation. It just hangs there and eventually times out.
I upgraded them to Version 2012 1.8 and they are running Centos 6 32 bit.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Can't open reports page

Post by slansing »

What error are you receiving from the Reports page? Can you try to access that page, and only that page, then send us the output of:

Code: Select all

tail /var/log/httpd/error_log


tail /var/log/httpd/access_log
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: Can't open reports page

Post by niebais »

These are the last lines in the access log, there are no errors in the error log:

"http://10.222.64.253/nagiosxi//includes ... splash.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:15 +0000] "GET /nagiosxi/includes/js/dashboards.js?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi//includes ... splash.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:15 +0000] "GET /nagiosxi/includes/js/tables.js?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi//includes ... splash.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:15 +0000] "GET /nagiosxi/includes/js/dashlets.js?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi//includes ... splash.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:15 +0000] "GET /nagiosxi/includes/js/users.js?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi//includes ... splash.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:15 +0000] "GET /nagiosxi/includes/js/perfdata.js?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi//includes ... splash.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:16 +0000] "GET /nagiosxi/includes/css/nagiosxi.css?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi//includes ... splash.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:16 +0000] "GET /nagiosxi/includes/js/wizards.js?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi//includes ... splash.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:16 +0000] "GET /nagiosxi//includes/page-default-splash.php?getfeed=labs HTTP/1.1" 200 156 "http://10.222.64.253/nagiosxi//includes ... splash.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:16 +0000] "GET /nagiosxi//includes/page-default-splash.php?getfeed=xipromo HTTP/1.1" 200 146 "http://10.222.64.253/nagiosxi//includes ... splash.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:16 +0000] "GET /nagiosxi//includes/page-default-splash.php?getfeed=techsupport HTTP/1.1" 200 2624 "http://10.222.64.253/nagiosxi//includes ... splash.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:16 +0000] "GET /nagiosxi//includes/page-default-splash.php?getfeed=library HTTP/1.1" 200 140 "http://10.222.64.253/nagiosxi//includes ... splash.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:19 +0000] "GET /nagiosxi/reports/ HTTP/1.1" 200 18741 "http://10.222.64.253/nagiosxi/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:20 +0000] "GET /nagiosxi/includes/js/jquery/jquery-1.8.2.min.js?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi/reports/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:20 +0000] "GET /nagiosxi/includes/js/jquery/jquery-ui-1.9.0.custom.min.js?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi/reports/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:20 +0000] "GET /nagiosxi/includes/js/jquery/css/smoothness/jquery-ui-1.9.0.custom.min.css?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi/reports/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:20 +0000] "GET /nagiosxi/includes/js/core.js?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi/reports/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:20 +0000] "GET /nagiosxi/includes/js/commands.js?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi/reports/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:20 +0000] "GET /nagiosxi/includes/js/views.js?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi/reports/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:20 +0000] "GET /nagiosxi/includes/js/dashboards.js?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi/reports/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:20 +0000] "GET /nagiosxi/includes/js/tables.js?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi/reports/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:20 +0000] "GET /nagiosxi/includes/js/dashlets.js?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi/reports/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:20 +0000] "GET /nagiosxi/includes/js/users.js?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi/reports/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:20 +0000] "GET /nagiosxi/includes/js/perfdata.js?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi/reports/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:20 +0000] "GET /nagiosxi/includes/js/wizards.js?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi/reports/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
172.26.6.154 - - [07/May/2013:16:38:20 +0000] "GET /nagiosxi/includes/css/nagiosxi.css?308 HTTP/1.1" 304 - "http://10.222.64.253/nagiosxi/reports/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"

It stops at "transferring data" and just stays there indefinitely.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Can't open reports page

Post by abrist »

What values are set in the php.ini for:

Code: Select all

 max_execution_time = 
 max_input_time = 
 memory_limit =
You may need to increase those values, see the following link:
http://support.nagios.com/wiki/index.ph ... _Completes
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: Can't open reports page

Post by niebais »

abrist wrote:What values are set in the php.ini for:

Code: Select all

 max_execution_time = 
 max_input_time = 
 memory_limit =
You may need to increase those values, see the following link:
http://support.nagios.com/wiki/index.ph ... _Completes
max_execution_time=3000 ( I increased that number due to nagiosql apply config problems)
max_input_time = 3000 (same as above)
memory_limit = 1024M (increased due to...well...a need for higher memory usage :)
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Can't open reports page

Post by abrist »

Do a running tail of the httpd error log (leave it running), and then try to open the reports page:

Code: Select all

tail -f /var/log/httpd/error_log
If the report is not getting generated, we should see an error in the tail. . .
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: Can't open reports page

Post by niebais »

The main problem is the page doesn't seem to finish loading. The error_logs show nothing.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Can't open reports page

Post by scottwilkerson »

Out of curiosity can you get to one of the other report pages instead of the default Availability Report page?

Such as

Code: Select all

/nagiosxi/reports/statehistory.php
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: Can't open reports page

Post by niebais »

Hmm, interesting...that's really slow too. Just hanging like the others.
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: Can't open reports page

Post by niebais »

statehistory eventually came up...it just took over 10 minutes.
Locked