Page 1 of 1

Hostgroup Summary Page Slow

Posted: Wed Mar 26, 2014 9:28 am
by sav2880
Good Morning,

I've been having an interesting issue that I'd like to see if you've seen before, or if you've had to fix in the past. Generally, my Nagios environment is pretty snappy. Pages load quick enough for my satisfaction, alerts go out pretty quickly, but there's one exception to this. Our Hostgroup Summary page never seems to load, at all. You get the summary pages, but you the actual status summary just spins and spins, and it never loads the summary. I can switch to other pages, which load okay, and even the hostgroup overview loads okay.

What could I maybe do to troubleshoot this? The problem does persist even past reboots of the server.

Thanks!

Re: Hostgroup Summary Page Slow

Posted: Wed Mar 26, 2014 11:36 am
by lmiltchev
Do you see the same behavior in all browsers? Have you tried clearing the browser's cache?

Start a running tail on the apache error log:

Code: Select all

tail -f /var/log/httpd/error_log
then load the "Host Group Status" Page, let it spin for a while, and check the log for errors.

Re: Hostgroup Summary Page Slow

Posted: Thu Apr 03, 2014 10:20 am
by sav2880
I can confirm that the issue happens on multiple browsers regardless of a browser cache clean, I will do a look through the error log shortly and post that here as soon as it's done.

Re: Hostgroup Summary Page Slow

Posted: Thu Apr 03, 2014 2:39 pm
by sreinhardt
Thanks for the update, let us know when you have a chance to tail the logs.

Re: Hostgroup Summary Page Slow

Posted: Thu Jun 26, 2014 9:33 am
by sav2880
Looks like this is the error I see:

Code: Select all

[Thu Jun 26 10:31:38 2014] [error] [client 192.168.19.75] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /usr/local/nagiosxi/html/includes/utilsx.inc.php on line 101, referer: http://10.35.192.132/nagiosxi/includes/components/xicore/status.php?show=hostgroups&hostgroup=all&style=summary


Re: Hostgroup Summary Page Slow

Posted: Thu Jun 26, 2014 9:57 am
by sav2880
Turns out increasing the max_execution_time fixed the issue, so it was just taking a tinge more than the default 30 seconds!

Re: Hostgroup Summary Page Slow

Posted: Thu Jun 26, 2014 9:59 am
by tmcdonald
Sometimes it's the little tweaks that fix things. Shall we close this up?