If you're going to add more services and hosts, you're going to either have to break this up into multiple XI servers or setup distributed monitoring with Mod-Gearman workers.
However, Mod-Gearman will not help with passive checks. Do you know how many of the 149,424 checks are active vs passive?
Since this is a VM, I would recommend increasing the number of CPU cores.
To re-start Nagios XI and clear kernel message queue, run the following command.
Code: Select all
service crond stop
service npcd stop
service nagios stop
service ndo2db stop
pkill -9 -u nagios
for i in $(ipcs -q | grep nagios |awk '{print $2}'); do ipcrm -q $i; done
rm -rf /usr/local/nagiosxi/var/dbmaint.lock
rm -rf /usr/local/nagiosxi/var/event_handler.lock
rm -rf /usr/local/nagiosxi/scripts/reconfigure_nagios.lock
service mysqld restart
service ndo2db start
service nagios start
service npcd start
service crond start