How to run repair to off loaded database

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
matt.lilek
Posts: 137
Joined: Wed Aug 07, 2013 11:53 am

How to run repair to off loaded database

Post by matt.lilek »

Running /usr/local/nagiosxi/scripts/repairmysql.sh nagios only works on the local database. So how do i run it on the off loaded one?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: How to run repair to off loaded database

Post by tmcdonald »

You should be able to just copy over the script and run it on the DB server. You cannot run myisamchk (the utility the script uses) remotely since it operates directly on files and bypasses the SQL daemon.
Former Nagios employee
Locked