MySQL Monitoring Script in Shell or Perl for Linux
For mysql server monitoring you should concern these-
 Mysql server is running or not by command (service mysql status) and by telnet the server that is running or not. You should consider these parameters.

ibdata size
no of connections or Threads
reads per second
write per second
cpu load
memory utilization
no of open tables
query per second
insert/update per second
mysql-server uptime
slow queries
flush tables
no of questions