Monitoring MYSQL Database replication
Monitoring MYSQL Database replication
What is the best way to monitor Nagios XI database replication?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitoring MYSQL Database replication
Can you be a little more specific. Are you replicating your nagios database to a different machine and want to monitor that?
There are several items on the exchange for monitoring replication
http://exchange.nagios.org/index.php?op ... eplication
There are several items on the exchange for monitoring replication
http://exchange.nagios.org/index.php?op ... eplication
Re: Monitoring MYSQL Database replication
Sorry about that, I am actually monitoring MYSQL replication to the backup server.
Thank you
Thank you
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitoring MYSQL Database replication
You could run the MySQL wizard and check the "Slave" items on the bottom of the page.
Also, you could craft a query that should yield a result and run the mysql query wizard with that query... Something like
Select the nagios database
use the following query
the warning and critical levels will represent seconds
Also, you could craft a query that should yield a result and run the mysql query wizard with that query... Something like
Select the nagios database
use the following query
Code: Select all
SELECT NOW()-status_update_time FROM nagios_programstatus