summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorGreg Sabino Mullane2011-07-03 02:38:58 +0000
committerGreg Sabino Mullane2011-07-03 02:38:58 +0000
commit15140ad723d2f33c796f42522019a80807ed0aaa (patch)
tree10e8186877738a6a15c83fa443728bc696bc639b /check_postgres.pl
parent50dcb63dca30f0a4d9e596e69ab83ae9fc443ca8 (diff)
Be clear that we are checking the pg_listener table. Per suggestion from Thomas Guettler.
Note the failure to work at versions >= 9.0
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl8
1 files changed, 5 insertions, 3 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index fcd112188..8daef5756 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -8443,9 +8443,11 @@ last vacuumed or analyzed. The fourth line returns the name of the database and
=head2 B<listener>
-(C<symlink: check_postgres_listener>) Confirm that someone is listening for one or more specific strings. Only one of warning or critical is needed. The format
-is a simple string representing the LISTEN target, or a tilde character followed by a string for a regular expression
-check.
+(C<symlink: check_postgres_listener>) Confirm that someone is listening for one or more
+specific strings (using the LISTEN/NOTIFY system), by looking at the pg_listener table.
+Only one of warning or critical is needed. The format is a simple string representing the
+LISTEN target, or a tilde character followed by a string for a regular expression check.
+Note that this check will not work on versions of Postgres 9.0 or higher.
Example 1: Give a warning if nobody is listening for the string bucardo_mcp_ping on ports 5555 and 5556