There is some simple Perl code in the book "High Performance Mysql" which does a slave check. Very good book by the way.
Have you considered to use nagios (or other monitoring solutions)? There are some plugins for nagios that deal with Mysql.
In reply to Re^3: Mysql Health script
by stark
in thread Mysql Health script
by aalneyperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |