Possible Duplicate:
Monitoring replication on mysql
I am running with MySQL Master/Slave Replication on Linux.
Is there any tool/Shell script which monitors the Replication Status and send the email alerts when there is Replication failure.
I am running with MySQL Master/Slave Replication on Linux. Is there any tool/Shell script which monitors the Replication Status and send the email alerts when there is Replication failure. |
|||
|
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
|
Zenoss is another capable monitoring tool. Writing a simple shell script and setting it up as a cron would also be pretty simple if you only have a couple hosts to monitor.
|
|||
|
|
|
If you don't have a monitoring framework in place, I would highly recommend looking into Nagios. There are others, but for the purpose of this question, Percona has many MySQL monitoring tools available. Two of them specifically monitors slave lag and slave failures. From their blog post:
|
|||
|
|