use check_postgres for nagios