Problem with repairing NagiosXI database
Posted: Thu Apr 24, 2014 3:09 am
Hi all,
I found that 2 tables in Nagios XI database are crashed , respectively nagios_externalcommands and nagios_notifications
I have tried the procedure founded at this link http://assets.nagios.com/downloads/nagi ... tabase.pdf
I have ran the following command
service nagios stop
service mysqld stop
cd /var/lib/mysql/nagios
myisamchk -r -f nagios_externalcommands.MYI
myisamchk -r -f nagios_notifications.MYI
service mysqld start
service nagios start
rm -f /usr/local/nagiosxi/var/dbmaint.lock
/usr/local/nagiosxi/cron/dbmaint.php
After restarting mysql and nagios I saw that the problem is not resolved
Any suggestions?
Thanks
I found that 2 tables in Nagios XI database are crashed , respectively nagios_externalcommands and nagios_notifications
I have tried the procedure founded at this link http://assets.nagios.com/downloads/nagi ... tabase.pdf
I have ran the following command
service nagios stop
service mysqld stop
cd /var/lib/mysql/nagios
myisamchk -r -f nagios_externalcommands.MYI
myisamchk -r -f nagios_notifications.MYI
service mysqld start
service nagios start
rm -f /usr/local/nagiosxi/var/dbmaint.lock
/usr/local/nagiosxi/cron/dbmaint.php
After restarting mysql and nagios I saw that the problem is not resolved
Any suggestions?
Thanks