Remote Databases

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

Remote Databases

Post by TBT »

We utilize remote databases for out Nagios XI instances and have a few questions.

DB failover question:

1. Currently, we have a primary Nagios database instance that is being replicated to a secondary database server. Is there any feature in Nagios that would allow Nagios to connect and use the secondary database server (as a hot failover) in the event of the primary database server becoming unavailable?

Replication question:

2. Are there any plugins available that could monitor the status of a MySQL replication slave server to see if it has stopped replicating?

Table Check question

3. What is the recommended method for checking/repairing tables in a Nagios database? Is there a mechanism in Nagios to do the checks, or is there a feature that could be enabled to stop writing to the database during a check/repair (ie. maintenance mode)

Please advise.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Remote Databases

Post by avandemore »

1. There is not a supported option by Nagios but there are a number of unsupported methods of making MySQL HA.
2. There are some plugins and tutorials here: https://exchange.nagios.org/index.php?o ... eplication
3. Repairing the DB is covered in this document: https://assets.nagios.com/downloads/nag ... tabase.pdf Following it will shutdown the needed parts to run repairs safely.
Previous Nagios employee
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Remote Databases

Post by tmcdonald »

Just checking in since we have not heard from you in a while. Did @avandemore's post clear things up or has the issue otherwise been resolved?
Former Nagios employee
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Remote Databases

Post by TBT »

tmcdonald wrote:Just checking in since we have not heard from you in a while. Did @avandemore's post clear things up or has the issue otherwise been resolved?
We're investigating mysqlfailover options. Might as well close this for the time being. Thanks.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Locked