You are here
Simple linux script to moniter mysql slave threads
Tue, 2013-08-13 13:22 — srihari
*/3 * * * * /usr/bin/mysql -uroot -p******** -e "show slave status\G"|grep Running|awk '{ if($2=="No") { print |"mail -s \"replication is down\" doulapalli.srihari@gmail.com"};}'