Slow Web UI XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Slow Web UI XI

Post 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
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Slow Web UI XI

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: Slow Web UI XI

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Slow Web UI XI

Post by scottwilkerson »

your

Code: Select all

ps -aef
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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: Slow Web UI XI

Post 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.
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: Slow Web UI XI

Post by blariv »

i just fixed that by removing the lock and sock files for ndo2db

I guess we are back to the original question
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Slow Web UI XI

Post by scottwilkerson »

So after all that fixing the UI is still lagging?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: Slow Web UI XI

Post by blariv »

yes, pretty bad. maybe 20 seconds to open things up.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Slow Web UI XI

Post 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
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: Slow Web UI XI

Post 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.
Locked