Slowness in NagiosXI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
reincarne
Posts: 146
Joined: Wed Jun 26, 2013 4:39 am

Slowness in NagiosXI

Post by reincarne »

Hi,
We recently moved all our old checks from Nagios core to Nagios XI.
We are experiencing very slow performances, so slow that we almost unable to work with it.
We have about 30,000 service checks and about 1400 hosts in Nagios.

Current machine:
4 cores
15 GB RAM

We have few issues:
1. The apply configuration process takes a lot of time, I mean the restart might be quick, but anytime we do apply configuration, Nagios reloads all the configuration from the beginning, which makes it work very hard and takes time until all the services are loaded. Is there a way to force Nagios to reload only the delta which was changed?

2. The load on the machine is about 40-50 especially starting yesterday - what could cause it? We reviewed the performances documentation and did the suggested changes, however nothing helped.
P.S - the two processes which are killing the CPU are ndo2db & mysqld.

Will upgrading the machine resolve the issue? What can you suggest?
You do not have the required permissions to view the files attached to this post.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Slowness in NagiosXI

Post by mcapra »

That's an awful lot of checks. You may want to offload the MySQL database to a separate machine for starters. This documentation describes the process:
https://assets.nagios.com/downloads/nag ... Server.pdf
Former Nagios employee
https://www.mcapra.com/
reincarne
Posts: 146
Joined: Wed Jun 26, 2013 4:39 am

Re: Slowness in NagiosXI

Post by reincarne »

mcapra wrote:That's an awful lot of checks. You may want to offload the MySQL database to a separate machine for starters. This documentation describes the process:
https://assets.nagios.com/downloads/nag ... Server.pdf

We will do it later, for now we increased the machine size (CPU & Memory).

I'm interested to know if there is a way to force nagios NOT to load all the configurations upon each apply configuration process?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Slowness in NagiosXI

Post by dwhitfield »

reincarne wrote: I'm interested to know if there is a way to force nagios NOT to load all the configurations upon each apply configuration process?
No, but in XI 5.5
Performance improvements to apply configuration scripts
https://www.nagios.com/roadmaps/

Depending on the upgrade process in your organization, it might make sense to wait until 5.5 to upgrade. What version are you currently running? We can take a look at the change logs and see if there are any specific database improvements since your version.

Aside from the off-loading the DB document, there are a lot of suggestions at https://assets.nagios.com/downloads/nag ... ios-XI.pdf. There's a link to the off-loading the DB document in there, as well as a link to https://assets.nagios.com/downloads/gen ... utions.pdf but given your past use of Core, I think it worth giving you this one directly.
Locked