Be clear that we are checking the pg_listener table. Per suggestion from Thomas Guettler.
authorGreg Sabino Mullane <[email protected]>
Sun, 3 Jul 2011 02:38:58 +0000 (22:38 -0400)
committerGreg Sabino Mullane <[email protected]>
Sun, 3 Jul 2011 02:38:58 +0000 (22:38 -0400)
Note the failure to work at versions >= 9.0

check_postgres.pl

index fcd1121880575c537a9e738f52391dea593f8baa..8daef5756c58d610425db98d9dd3ba02ea3f66ca 100755 (executable)
@@ -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