repair_databases.sh on a remote database?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

repair_databases.sh on a remote database?

Post 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.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: repair_databases.sh on a remote database?

Post 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?
Former Nagios Employee.
me.
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: repair_databases.sh on a remote database?

Post 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.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: repair_databases.sh on a remote database?

Post 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.
Former Nagios Employee.
me.
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: repair_databases.sh on a remote database?

Post 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.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: repair_databases.sh on a remote database?

Post 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.
Last edited by dwhitfield on Thu Dec 08, 2016 2:51 pm, edited 1 time in total.
Reason: was 6720, but that is a quickstart tast
Former Nagios Employee.
me.
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: repair_databases.sh on a remote database?

Post by TBT »

6720? No such ID in tracker, which system was this submitted to?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: repair_databases.sh on a remote database?

Post by hsmith »

TBT wrote:6720? No such ID in tracker, which system was this submitted to?
It was submitted to our internal tracker.
Former Nagios Employee.
me.
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: repair_databases.sh on a remote database?

Post 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.
Last edited by TBT on Wed Oct 14, 2015 2:35 pm, edited 1 time in total.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: repair_databases.sh on a remote database?

Post 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.
Former Nagios Employee.
me.
Locked