Re: NagiosXI UI 'Last Check' Lagging Behind
Posted: Fri May 03, 2019 11:42 am
Hi @azreenariff,
Getting back to the initial issue, can you provide anymore details about how the system is lagging? Is this consistent across all host and services or only a few? Is the lag an intermittent issue ( does the server ever catch up)?
While you have made performance upgrades, I believe the issue here is that the Nagios XI server is having trouble processing results as you have a large number of services.
We would like to check the size of the database tables, can you post the output of the following command?
Also, post the output of the following command to verify the tables:
What are your kernel message queue settings at:
If you haven't done so already, follow the guide below to increase the settings to allow for more messages to be processed.
NDOUtils - Message Queue Exceeded
Getting back to the initial issue, can you provide anymore details about how the system is lagging? Is this consistent across all host and services or only a few? Is the lag an intermittent issue ( does the server ever catch up)?
While you have made performance upgrades, I believe the issue here is that the Nagios XI server is having trouble processing results as you have a large number of services.
We would like to check the size of the database tables, can you post the output of the following command?
NOTE: You may need to adjust the -h 127.0.0.1, the -uroot, and -pnagiosxi in the first command if your DB is offloaded to another server and/or you've changed the root mysql password
Code: Select all
echo "SELECT table_name AS 'Table', round(((data_length + index_length) / 1024 / 1024), 2) 'Size in MB' FROM information_schema.TABLES WHERE table_schema IN ('nagios', 'nagiosql', 'nagiosxi');" | mysql -h 127.0.0.1 -uroot -pnagiosxi --tab
Code: Select all
echo "SELECT table_name AS 'Table', round(((data_length + index_length) / 1024 / 1024), 2) 'Size in MB' FROM information_schema.TABLES WHERE table_schema IN ('nagios', 'nagiosql', 'nagiosxi');" | mysql -h 127.0.0.1 -uroot -pnagiosxi --table | grep NULL
Code: Select all
sysctl kernel.msg{max,mni,mnb}
NDOUtils - Message Queue Exceeded