MySQL Monitoring Linux Shell Script

Hi All, Can any one please provide Linux shell script for Monitoring MySQL databases. It would be very much helpful for me to implement . Thanks in Advance , Subash

What is it that you are looking to monitor? There are quite a few existing monitoring / trending solutions out there, so unless you need something very specific I’d go with one of those. Percona has templates for Nagios for the monitoring / alerting aspect, and for Cacti for trending over time. So I would definitely check those out first if you have not already:

http://www.percona.com/doc/percona-monitoring-plugins/