Page 1 of 1
repair_databases.sh on a remote database?
Posted: Fri Aug 14, 2015 8:51 am
by TBT
Need to run /usr/local/nagiosxi/scripts/repair_databases.sh on an off loaded Database, please advise?
Also, for the dev team, perhaps a config check would be beneficial on these scripts.
Re: repair_databases.sh on a remote database?
Posted: Fri Aug 14, 2015 8:57 am
by hsmith
TBT wrote:Need to run /usr/local/nagiosxi/scripts/repair_databases.sh on an off loaded Database, please advise?
Also, for the dev team, perhaps a config check would be beneficial on these scripts.
If you have access to that database, are you able to copy the script over and just run it?
Re: repair_databases.sh on a remote database?
Posted: Fri Aug 14, 2015 9:12 am
by TBT
@hsmith It also calls other scripts, so these would also need to be copied, but we'll give it a try.
Can you speak with development regarding this behavior? Would be helpful if the script did an initial config check for remote Databases.
Re: repair_databases.sh on a remote database?
Posted: Fri Aug 14, 2015 9:17 am
by hsmith
TBT wrote:@hsmith It also calls other scripts, so these would also need to be copied, but we'll give it a try.
Can you speak with development regarding this behavior? Would be helpful if the script did an initial config check for remote Databases.
I'll check through current feature requests in place, and if one does not exist, submit one. It sounds like a pretty reasonable and useful request.
Re: repair_databases.sh on a remote database?
Posted: Fri Aug 14, 2015 9:29 am
by TBT
hsmith wrote:TBT wrote:@hsmith It also calls other scripts, so these would also need to be copied, but we'll give it a try.
Can you speak with development regarding this behavior? Would be helpful if the script did an initial config check for remote Databases.
I'll check through current feature requests in place, and if one does not exist, submit one. It sounds like a pretty reasonable and useful request.
Yes, please do, a config check for remote databases is definitely required. Copying over to a remote Database server isn't an elegant solution as other cofig files are required/read by these scripts.
Re: repair_databases.sh on a remote database?
Posted: Fri Aug 14, 2015 9:40 am
by hsmith
TBT wrote:hsmith wrote:TBT wrote:@hsmith It also calls other scripts, so these would also need to be copied, but we'll give it a try.
Can you speak with development regarding this behavior? Would be helpful if the script did an initial config check for remote Databases.
I'll check through current feature requests in place, and if one does not exist, submit one. It sounds like a pretty reasonable and useful request.
Yes, please do, a config check for remote databases is definitely required. Copying over to a remote Database server isn't an elegant solution as other cofig files are required/read by these scripts.
Feature request (6270) has been submitted for you.
Re: repair_databases.sh on a remote database?
Posted: Fri Aug 14, 2015 12:37 pm
by TBT
6720? No such ID in tracker, which system was this submitted to?
Re: repair_databases.sh on a remote database?
Posted: Fri Aug 14, 2015 12:39 pm
by hsmith
TBT wrote:6720? No such ID in tracker, which system was this submitted to?
It was submitted to our internal tracker.
Re: repair_databases.sh on a remote database?
Posted: Wed Oct 14, 2015 1:53 pm
by TBT
Please confirm a fix made it into the XI 5 release, I've grep'd the 5.x changelog for "repair" and found no occurrence.
Thank you.
Updated: Grammar.
Re: repair_databases.sh on a remote database?
Posted: Wed Oct 14, 2015 2:31 pm
by hsmith
I have not got word back from the developers, but I can confirm that this did not make into XI5. The script itself runs a binary, and automatically doing that over an SSH connection may be considered intrusive in a lot of environments.