From: Joshua Tolley Date: Mon, 30 Aug 2010 16:26:35 +0000 (-0600) Subject: Edit docs to match other actions better X-Git-Tag: 2.15.1~7^2 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=cf5fa688c75fdd4429769ab1efdcb3e9c64a3323;p=check_postgres.git Edit docs to match other actions better --- diff --git a/check_postgres.pl b/check_postgres.pl index d003c9ed1..0b17a87e6 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -8091,59 +8091,38 @@ For MRTG output, returns a 1 or 0 indicating success of failure of the checksum checksum must be provided as the C<--mrtg> argument. The fourth line always gives the current checksum. -=head2 B +=head2 B -=over 4 - -=item pgb_pool_cl_active - -(C) Connections from clients that -are currently associated with a connection to the database - -=item pgb_pool_cl_waiting - -(C) Connections from clients that are -waiting for a database connection - -=item pgb_pool_sv_active +=head2 B -(C) PostgreSQL connections currently -associated with a client +=head2 B -=item pgb_pool_sv_idle +=head2 B -(C) PostgreSQL connections ready to be -associated with an incoming client +=head2 B -=item pgb_pool_sv_used +=head2 B -(C) PostgreSQL connections just -unlinked from a client and not yet returned to the idle pool +=head2 B -=item pgb_pool_sv_tested +=head2 B -(C) PostgreSQL connections currently -being tested - -=item pgb_pool_sv_login - -(C) PostgreSQL connections currently -in the login process - -=item pgb_pool_maxwait - -(C) Time in seconds that the oldest -client in the waiting pool has been waiting for a connection - -=back +(symlinks: C, C, +C, C, +C, C, +C, and C) Examines pgbouncer's pool statistics. Each pool has a set of "client" connections, referring to connections from external clients, and "server" connections, referring to connections to PostgreSQL itself. The related check_postgres actions are prefixed by "cl_" and "sv_", respectively. Active -client connections are those connections currently associated with an active -server connection. Client connections may also be "waiting", meaning they have -not yet been allocated a server connection. +client connections are those connections currently linked with an active server +connection. Client connections may also be "waiting", meaning they have not yet +been allocated a server connection. Server connections are "active" (linked to +a client), "idle" (standing by for a client connection to link with), "used" +(just unlinked from a client, and not yet returned to the idle pool), and +"login" (in the process of logging in). The maxwait value shows how long in +seconds the oldest waiting client connection has been waiting. =head2 B