Repair MySQL Table

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Post Reply
s.diwakar1
Posts: 44
Joined: Thu Feb 27, 2020 9:45 am

Repair MySQL Table

Post by s.diwakar1 »

Hi,

I am using Nagios Core 4.4.5

I am getting below error message in logs.

Code: Select all

ndo2db: mysql_error: 'Table './nagios/nagios_servicechecks' is marked as crashed and should be repaired'
How to repair this table?
Thanks & Regards,
Diwakar Sharma
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Repair MySQL Table

Post by gormank »

/usr/local/nagiosxi/scripts/repair_databases.sh
Post Reply