Re: replication stopped
6 Jul
2006
6 Jul
'06
09:50
Dominik Klein schrieb:
How do you usually check automatically that slaves are up and running ?
echo "show slave status\G"|mysql -u user -ppassword|grep -i "slave.*running"|grep -i no && mail -s "MySQL Slave stopped" me@mydomain.org
well, actually echo "show slave status\G"|mysql -u user -ppassword|grep -i "slave.*running"|grep -i no && echo "."|mail -s "MySQL Slave stopped" me@mydomain.org sorry -- Um die Liste abzubestellen, schicken Sie eine Mail an: suse-linux-unsubscribe@suse.com Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: suse-linux-help@suse.com
6538
Age (days ago)
6538
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dominik Klein