## This plugin tests a PostgreSQL DBMS to determine whether it is active and ## accepting queries. In its current operation, it simply connects to the ## specified database, and then disconnects. If no database is specified, it ## connects to the template1 database, which is present in every functioning ## PostgreSQL DBMS. # 'check_pgsql' command definition. See 'check_pgsql -h' for details define command{ command_name check_pgsql command_line $USER1$/check_pgsql -H $HOSTADDRESS$ }