MySQL Monitoring Script in Shell or Perl for Linux I need a MySQL Monitoring Script in Bash or Perl for Linux. 

I found some but they are quite big with a lots of checks that are not 
useful at all for me and in this case I should customise the script 
a lot. 

Any idea for most important parameters of MySQL monitoring in a Shell or Perl
script?

Following parameters should be monitored: 

qcache_hits                                                     
SHOW GLOBAL STATUS;                             
SHOW SESSION STATUS;                                
slow_queries                                                    
max_connections                                         
key_buffer_size
mysql availability  STATUS
Error log
SHOW ENGINE INNODB STATUS;
max_used_connections
Handler_read%
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