Initial commit, works.

a wrapper around check_mysql (one of the standard nagios plugins).  Simply parses out the thread count and passes it back nicely for a nagios alert.  Complete with pnp performance data;

$ /usr/local/scripts/check_mysql_threads.sh 3 6
OK: Threadcount is 2 | threads=2;;3;6;0;