Page 1 of 2
Slow Web UI XI
Posted: Mon Apr 02, 2018 8:22 am
by blariv
hi,
seem to he having an issue w/ the web ui really lagging. this seems to happen when I have multiple windows open and especially if I try to open the main hostgroup summary.
applying a config is fast and without warnings or errors.
I checked the processlist from another post and here is my output.
[root@nagiosxi ~]# echo "show processlist;"|mysql -pnagiosxi|wc -l
76
system profile is attached.
System:
Nagios XI Version : 5.4.13
nagiosxi.na.hasbro.com 3.10.0-693.11.6.el7.x86_64 x86_64
Red Hat Enterprise Linux Server release 7.4 (Maipo)
Gnome is not installed
Re: Slow Web UI XI
Posted: Mon Apr 02, 2018 10:52 am
by scottwilkerson
You have over 1500 nsca processes running, I don't know why but that seems like an issue.
Lets start by running
Code: Select all
service nsca stop
killall -9 nsca
service nsca start
Re: Slow Web UI XI
Posted: Mon Apr 02, 2018 11:21 am
by blariv
weird...
[root@nagiosxi ~]# service nsca stop
Redirecting to /bin/systemctl stop nsca.service
Failed to stop nsca.service: Unit nsca.service not loaded.
[root@nagiosxi ~]# service nsca status
Redirecting to /bin/systemctl status nsca.service
Unit nsca.service could not be found.
Re: Slow Web UI XI
Posted: Mon Apr 02, 2018 11:40 am
by scottwilkerson
your
showed 1500+ of these
Code: Select all
nsca -c /usr/local/nagios/etc/nsca.cfg --inetd
Sorry I forgot those run under xinetd
so
Code: Select all
service xinetd stop
killall -9 nsca
service xinetd start
Re: Slow Web UI XI
Posted: Mon Apr 02, 2018 11:50 am
by blariv
so after that it seems it hung itself up. I rebooted it.
nagios had to be started manually
mariadb needed to be repaired, there were lots of fixes happening on the repair.
ndo2db will start then stop, i turned on debugging and tried starting but nothing is written to the debug log, I specified 1 and 2 for very detailed.
Re: Slow Web UI XI
Posted: Mon Apr 02, 2018 1:43 pm
by blariv
i just fixed that by removing the lock and sock files for ndo2db
I guess we are back to the original question
Re: Slow Web UI XI
Posted: Mon Apr 02, 2018 2:12 pm
by scottwilkerson
So after all that fixing the UI is still lagging?
Re: Slow Web UI XI
Posted: Mon Apr 02, 2018 2:36 pm
by blariv
yes, pretty bad. maybe 20 seconds to open things up.
Re: Slow Web UI XI
Posted: Mon Apr 02, 2018 2:53 pm
by npolovenko
@blariv, Are you using an external URL to access the web interface? If you do you need to go to the Admin menu, then System Settings and fill out the external URL field.
If your server is using FQDN, make sure to add a new entry in /etc/hosts.
Have you looked into implementing a RAM disk? It may significantly boost the performance.
https://assets.nagios.com/downloads/nag ... giosXI.pdf
Re: Slow Web UI XI
Posted: Mon Apr 02, 2018 3:13 pm
by blariv
I am not using an external URL, this is all internal to us. I also put the fqdn in the hosts file.
this is a pretty high end server on all flash storage not sure how a ramdisk would help me out in that case.