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?
Slowness in NagiosXI
Slowness in NagiosXI
You do not have the required permissions to view the files attached to this post.
Re: Slowness in NagiosXI
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
https://assets.nagios.com/downloads/nag ... Server.pdf
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Slowness in NagiosXI
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
No, but in XI 5.5reincarne 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?
https://www.nagios.com/roadmaps/Performance improvements to apply configuration scripts
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.