Mailing the story:
Nagios Plugin: Counting the Lines in a MySQL Database
The "check_mysql_count.pl" plugin can be used to count lines in a MySQL database. It can be used to count either the total number of lines, or the number of lines that meet a certain criterion.