Page 1 of 1

Server load avarage in critical state.

Posted: Mon Jan 14, 2019 11:15 am
by biroby
Hi to all,
we have a server nagios that since today are in server load avarage in critical state.
I've stopped, cleaned .lock file, repair DB but problem still active.

Can anyone help me? :shock:

Re: Server load avarage in critical state.

Posted: Mon Jan 14, 2019 12:58 pm
by benjaminsmith
Hi @biroby,

Can you PM your system profile and we can take a look?

To send us your system profile. Login to the Nagios XI GUI using a web browser.

Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it to a cloud storage of your choice. You can share a link with me in a personal message.
After you upload the profile please post something in this thread to bring it up in the support queue.

Re: Server load avarage in critical state.

Posted: Tue Jan 15, 2019 3:53 pm
by benjaminsmith
Hello @biroby

Thank you for the profile. Log in as root and run the following from the command line:

Code: Select all

mysqlcheck -r -f -uroot -pnagiosxi --all-databases
systemctl stop crond
systemctl stop npcd
systemctl stop nagios
systemctl stop ndo2db
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
systemctl restart mariadb
systemctl start ndo2db
systemctl start nagios
systemctl start npcd
systemctl start crond
Let me know if that takes care of the issue.