Page 1 of 1

Nagios XI GUI slowness

Posted: Thu Sep 14, 2017 11:00 am
by ctretelea
Hello,
Nagios XI became very slow. From the forum I read the to move MySQL will be a solution. I moved it, it was better for a while. Also I changed php.ini:
max_execution_time = 120
memory_limit = 512M
That helps to load quicker page but the problem still when I go to the service or hostgroups and I see pending...
You can look at screenshot. For host groups view it's incorrectly because you have to see more services but you can see only some of them.

Re: Nagios XI GUI slowness

Posted: Thu Sep 14, 2017 11:05 am
by ctretelea
When you want to see service status of one Hostgroup you receive nothing.

Re: Nagios XI GUI slowness

Posted: Thu Sep 14, 2017 1:31 pm
by tgriep
Can you run the following commands and post the output so we can set some information about your system?

Code: Select all

ipcs -q
free
df -h
df -i
top -b -n 1
ps -ef --cols=300
uname -a
cat /etc/*release*
When the web interface is slow on the Nagios server, look at the Apache log files for any errors.
The Apache error log is located at /var/log/httpd/error_log
Take a look at is and post any errors you find.
Thanks

Re: Nagios XI GUI slowness

Posted: Fri Sep 15, 2017 9:01 am
by ctretelea
Hi tgriep,
I collect the stats and I atached them.

Re: Nagios XI GUI slowness

Posted: Fri Sep 15, 2017 11:40 am
by tgriep
The Kernel Message Queue is a little high so follow this KB article and see if that helps.
https://support.nagios.com/kb/article/n ... eeded.html

Also, I would add more RAM to the system and increase the memory_linit in the php.ini file to the following.

Code: Select all

memory_limit = 1G
Save the change and restart Apache by running

Code: Select all

service httpd restart
Let us know if this fixes the issue.

Re: Nagios XI GUI slowness

Posted: Mon Sep 18, 2017 8:26 am
by ctretelea
Hi tgriep,
I did what you said but Naxios still slow.
What I what to say that start a week a go you can see the attached graph.

Re: Nagios XI GUI slowness

Posted: Mon Sep 18, 2017 11:59 am
by dwhitfield
Closing due to ticket.