This plugin tests connections to a PostgreSQL database server
Supporte parameters are:
You need a the pgsql JDBC Driver jar file in the same directory that this plugin is installed.
In the following example, we will check the connection to a PostgreSQL database.
<command name="check_pgsql" plugin_name="CHECK_PGSQL">
<arg name="hostname" value="$ARG1$" />
<arg name="port" value="$ARG2$" />
<arg name="database" value="$ARG3$" />
<arg name="logname" value="$ARG4$" />
<arg name="password" value="$ARG5$" />
<arg name="warning" value="$ARG6$" />
<arg name="critical" value="$ARG7$" />
</command>