Doc typo in prepared_txns section.
authorThomas Guettler <[email protected]>
Sun, 3 Jul 2011 02:36:48 +0000 (22:36 -0400)
committerGreg Sabino Mullane <[email protected]>
Sun, 3 Jul 2011 02:36:48 +0000 (22:36 -0400)
check_postgres.pl

index f1e66bd92c91550751587016b7e2ca06639983cb..fcd1121880575c537a9e738f52391dea593f8baa 100755 (executable)
@@ -8672,8 +8672,8 @@ Example 1: Give a warning on detecting any prepared transactions:
 Example 2: Give a critical if any prepared transaction has been open longer than 10 seconds, but allow 
 up to 360 seconds for the database 'shrike':
 
-  check_postgres_listener --critical=10 --exclude=shrike
-  check_postgres_listener --critical=360 --include=shrike
+  check_postgres_prepared_txns --critical=10 --exclude=shrike
+  check_postgres_prepared_txns --critical=360 --include=shrike
 
 For MRTG output, returns the number of seconds the oldest transaction has been open as the first line, 
 and which database is came from as the final line.