From: Greg Sabino Mullane check_postgres.pl - a Postgres monitoring script for Nagios, MRTG, Cacti, and others
-This documents describes check_postgres.pl version 2.5.1
NAME
To view only non-idle processes, you can use the --noidle argument. Note that the +user you are connecting as must be a superuser for this to work properly.
Example 1: Give a warning when the number of connections on host quirm reaches 120, and a critical if it reaches 150.
check_postgres_backends --host=quirm --warning=120 --critical=150@@ -1213,7 +1214,13 @@ feature requests, and commit notices, send email to HISTORY
Items not specifically attributed are by Greg Sabino Mullane.
+ Minor documentation tweak.+
@@ -1222,33 +1229,33 @@ feature requests, and commit notices, send email to Version 2.5.0 +
Add support for the pg_Service.conf file with the --dbservice option.
Fix options for replicate_row action, per report from Jason Gordon.
Wrap File::Temp::cleanup() calls in eval, in case File::Temp is an older version. Patch by Chris Butler.
Cast numbers to numeric to support sequences ranges > bigint in check_sequence action. Thanks to Scott Marlowe for reporting this.
@@ -1256,7 +1263,7 @@ feature requests, and commit notices, send email to Version 2.3.10 +
@@ -1264,64 +1271,64 @@ feature requests, and commit notices, send email to Version 2.3.9 +
Minor tweak to way we store the default port.
Allow the default port to be changed easily. Allow transform of simple output by MB, GB, etc.
Allow multiple databases in 'sequence' action. Reported by Christoph Zwerschke.
Add missing $schema to check_fsm_pages. (Robert Treat)
Change option 'checktype' to 'valtype' to prevent collisions with -c[ritical] Better handling of errors.
Do explicit cleanups of the temp directory, per problems reported by sb@nnx.com.
Account for cases where some rounding queries give -0 instead of 0. - Thanks to Glyn Astill for helping to track this down.+ Thanks to Glyn Astill for helping to track this down.
Always quote identifiers in check_replicate_row action.
Give a better error if one of the databases cannot be reached.
@@ -1330,26 +1337,26 @@ feature requests, and commit notices, send email to Version 2.2.4 +
Fix some minor typos
Expand range of allowed names for --repinfo argument (Glyn Astill) Documentation tweaks.
Fixes for minor output and scoping problems.
@@ -1358,20 +1365,20 @@ feature requests, and commit notices, send email to Version 2.2.0 (September 25, 2008) +
Add fsm_pages and fsm_relations actions. (Robert Treat)
Fix for race condition in txn_time action. Add --debugoutput option.
@@ -1427,7 +1434,7 @@ feature requests, and commit notices, send email to Version 1.8.5 (June 22, 2008) +
diff --git a/index.html b/index.html
index 6fb4df343..e8b7602ab 100644
--- a/index.html
+++ b/index.html
@@ -21,14 +21,14 @@ h1 {
check_postgres.pl
-check_postgres.pl is a script for checking the state of one or more Postgres databases and reporting back in a Nagios-friendly manner. It was developed by Greg Sabino Mullane of End Point Corporation and is BSD-licensed. The latest version is 2.5.1, and was released on December 11, 2008.
+check_postgres.pl is a script for checking the state of one or more Postgres databases and reporting back in a Nagios-friendly manner. It was developed by Greg Sabino Mullane of End Point Corporation and is BSD-licensed. The latest version is 2.5.2, and was released on December 16, 2008.
The latest development version can be downloaded via git: