Hostgroup Summary Page Slow

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sav2880
Posts: 60
Joined: Tue Mar 13, 2012 8:24 am

Hostgroup Summary Page Slow

Post 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!
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Hostgroup Summary Page Slow

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
sav2880
Posts: 60
Joined: Tue Mar 13, 2012 8:24 am

Re: Hostgroup Summary Page Slow

Post 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.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Hostgroup Summary Page Slow

Post by sreinhardt »

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.
sav2880
Posts: 60
Joined: Tue Mar 13, 2012 8:24 am

Re: Hostgroup Summary Page Slow

Post 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

sav2880
Posts: 60
Joined: Tue Mar 13, 2012 8:24 am

Re: Hostgroup Summary Page Slow

Post 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!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Hostgroup Summary Page Slow

Post by tmcdonald »

Sometimes it's the little tweaks that fix things. Shall we close this up?
Former Nagios employee
Locked