Can't open reports page
Can't open reports page
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.
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
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_logRe: Can't open reports page
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.
"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.
Re: Can't open reports page
What values are set in the php.ini for:
You may need to increase those values, see the following link:
http://support.nagios.com/wiki/index.ph ... _Completes
Code: Select all
max_execution_time =
max_input_time =
memory_limit =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.
"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.
Re: Can't open reports page
max_execution_time=3000 ( I increased that number due to nagiosql apply config problems)abrist wrote:What values are set in the php.ini for:
You may need to increase those values, see the following link:Code: Select all
max_execution_time = max_input_time = memory_limit =
http://support.nagios.com/wiki/index.ph ... _Completes
max_input_time = 3000 (same as above)
memory_limit = 1024M (increased due to...well...a need for higher memory usage
Re: Can't open reports page
Do a running tail of the httpd error log (leave it running), and then try to open the reports page:
If the report is not getting generated, we should see an error in the tail. . .
Code: Select all
tail -f /var/log/httpd/error_logFormer 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.
"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.
Re: Can't open reports page
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
Out of curiosity can you get to one of the other report pages instead of the default Availability Report page?
Such as
Such as
Code: Select all
/nagiosxi/reports/statehistory.phpRe: Can't open reports page
Hmm, interesting...that's really slow too. Just hanging like the others.
Re: Can't open reports page
statehistory eventually came up...it just took over 10 minutes.