Nagios plugin to check output from database queries.