Monitor MySQL Replication Status with a Bash Script