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!
Hostgroup Summary Page Slow
Hostgroup Summary Page Slow
You do not have the required permissions to view the files attached to this post.
Re: Hostgroup Summary Page Slow
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:
then load the "Host Group Status" Page, let it spin for a while, and check the log for errors.
Start a running tail on the apache error log:
Code: Select all
tail -f /var/log/httpd/error_logBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Hostgroup Summary Page Slow
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.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Hostgroup Summary Page Slow
Thanks for the update, let us know when you have a chance to tail the logs.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Hostgroup Summary Page Slow
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
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
Sometimes it's the little tweaks that fix things. Shall we close this up?
Former Nagios employee