Yes, it has an updated version of NDO3 that has some bugs fixed.
While likely unrelated, edit this file:
Code: Select all
/usr/local/nagiosxi/html/config.inc.php
Change this:
To this:
Given the size of your system you should start looking at adding an additional XI server to reduce the total number of checks on the server:
Code: Select all
Total Hosts: 7591
Total Services: 46661
An offloaded DB would not be recommended given that size of system.
Generally at 10K total combined host/service checks we recommend that you setup a RAMDisk (which you've done), and at around 20K we recommend you start looking at adding an additional XI server because they can only process so much. Now this may come sooner or later than 20K depending on what type of checks you are running, how much resources they use, your hardware speed, and what you're doing to mitigate the impact.
You should run this check profiler script and see what long running checks you have and determine what some of your long running checks are, they consume resources the whole time they are running so reducing those helps a lot:
https://exchange.nagios.org/directory/P ... me/details
Please read through this doc as well, with the number of checks you are running I would leave the DB local though at this point in time because of the large amount of total checks you have, it requires a lot of throughput to the DB (recommended enabling jumbo_frames):
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
You can only do so much on a single server, you'll need to do what you can to mitigate the impact but you should start looking at adding another XI server soon if you continue to experience load/performance issues after doing the mitigation.
Let me know if you have any questions or if I can clarify anything.
I did have a customer say he had better performance with the old NDO2DB, if you'd like to try that to see if it helps (I would):
Run these commands as root:
Code: Select all
systemctl stop nagios
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.14.tar.gz
tar zxf xi-5.6.14.tar.gz
cd /tmp/nagiosxi
./init.sh
cd /tmp/nagiosxi/subcomponents/ndoutils
./install
systemctl enable ndo2db
If you have an offloaded database you will need to edit your
/usr/local/nagios/etc/ndo2db.cfg file and update these before running the next command to start it up:
- You can get the info from your
/usr/local/nagios/etc/ndo.cfg or from
/usr/local/nagiosxi/html/config.inc.php
db_host
db_port
db_user
db_pass
Then run this command to start it up.:
Then edit your
/usr/local/nagios/etc/nagios.cfg and make sure this line is uncommented/add it if needed:
Code: Select all
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Make sure all occurrences of this line are commented:
Code: Select all
#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
Then start the nagios service:
Then apply configuration and monitor it.