From: Greg Sabino Mullane Date: Wed, 17 Dec 2008 02:59:38 +0000 (-0500) Subject: Bump version X-Git-Tag: 2.9.0~200 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=b63004db13de7f8986b0ba69f3b8d45510b43e65;p=check_postgres.git Bump version --- diff --git a/check_postgres.pl b/check_postgres.pl index 1b545b0e8..19504b017 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -28,7 +28,7 @@ $Data::Dumper::Varname = 'POSTGRES'; $Data::Dumper::Indent = 2; $Data::Dumper::Useqq = 1; -our $VERSION = '2.5.1'; +our $VERSION = '2.5.2'; use vars qw/ %opt $PSQL $res $COM $SQL $db /; @@ -3748,7 +3748,7 @@ sub show_dbstats { =head1 NAME B - a Postgres monitoring script for Nagios, MRTG, Cacti, and others -This documents describes check_postgres.pl version 2.5.1 +This documents describes check_postgres.pl version 2.5.2 =head1 SYNOPSIS @@ -4976,6 +4976,10 @@ Items not specifically attributed are by Greg Sabino Mullane. =over 4 +=item B (December 16, 2008) + + Minor documentation tweak. + =item B (December 11, 2008) Add support for --noidle flag to prevent backends action from counting idle processes. diff --git a/check_postgres.pl.asc b/check_postgres.pl.asc index 0a7bdaab0..0c1cca341 100644 --- a/check_postgres.pl.asc +++ b/check_postgres.pl.asc @@ -1,6 +1,6 @@ -----BEGIN PGP SIGNATURE----- -iEYEABEDAAYFAklBoP4ACgkQvJuQZxSWSsi+sgCgpYy6vPMYdgowdwVN0F6NTPCF -dBsAn1Wyzz4J4Ej2aodWokAbmli7ve5B -=SLAE +iEYEABEDAAYFAklIaw0ACgkQvJuQZxSWSshfLQCg2ygQmvxjz2SpOIyKuzvbJDxA +yToAnAh71TN/AmzNAVsC1Mg+4w07KVaA +=xhJ4 -----END PGP SIGNATURE----- diff --git a/check_postgres.pl.html b/check_postgres.pl.html index 1b6c7681b..0d135a84f 100644 --- a/check_postgres.pl.html +++ b/check_postgres.pl.html @@ -92,7 +92,7 @@

NAME

check_postgres.pl - a Postgres monitoring script for Nagios, MRTG, Cacti, and others -This documents describes check_postgres.pl version 2.5.1

+This documents describes check_postgres.pl version 2.5.2


@@ -417,9 +417,10 @@ given. This choice does not use the max_connections setting. Se percentage of available connections can be given. Third, a negative number can be given which represents the number of connections left until max_connections is reached. The default values for --warning and --critical are '90%' and '95%'. -You can also specify --noidle to return a count of non-idle processes. You can also filter the databases by use of the <--include> and --exclude options. See the BASIC FILTERING section for more details.

+

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.

-
Version 2.5.1
+
Version 2.5.2 (December 16, 2008)
+ +
+
+  Minor documentation tweak.
+
+
Version 2.5.1 (December 11, 2008)
@@ -1222,33 +1229,33 @@ feature requests, and commit notices, send email to Version 2.5.0
+
Version 2.5.0 (December 4, 2008)
   Add support for the pg_Service.conf file with the --dbservice option.
-
Version 2.4.3
+
Version 2.4.3 (November 7, 2008)
   Fix options for replicate_row action, per report from Jason Gordon.
-
Version 2.4.2
+
Version 2.4.2 (November 6, 2008)
   Wrap File::Temp::cleanup() calls in eval, in case File::Temp is an older version.
   Patch by Chris Butler.
-
Version 2.4.1
+
Version 2.4.1 (November 5, 2008)
   Cast numbers to numeric to support sequences ranges > bigint in check_sequence action.
   Thanks to Scott Marlowe for reporting this.
-
Version 2.4.0
+
Version 2.4.0 (October 26, 2008)
@@ -1256,7 +1263,7 @@ feature requests, and commit notices, send email to Version 2.3.10
+
Version 2.3.10 (October 23, 2008)
@@ -1264,64 +1271,64 @@ feature requests, and commit notices, send email to Version 2.3.9
+
Version 2.3.9 (October 23, 2008)
  Minor tweak to way we store the default port.
-
Version 2.3.8
+
Version 2.3.8 (October 21, 2008)
  Allow the default port to be changed easily.
  Allow transform of simple output by MB, GB, etc.
-
Version 2.3.7
+
Version 2.3.7 (October 14, 2008)
  Allow multiple databases in 'sequence' action. Reported by Christoph Zwerschke.
-
Version 2.3.6
+
Version 2.3.6 (October 13, 2008)
  Add missing $schema to check_fsm_pages. (Robert Treat)
-
Version 2.3.5
+
Version 2.3.5 (October 9, 2008)
  Change option 'checktype' to 'valtype' to prevent collisions with -c[ritical]
  Better handling of errors.
-
Version 2.3.4
+
Version 2.3.4 (October 9, 2008)
  Do explicit cleanups of the temp directory, per problems reported by sb@nnx.com.
-
Version 2.3.3
+
Version 2.3.3 (October 8, 2008)
  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.
-
Version 2.3.2
+
Version 2.3.2 (October 8, 2008)
  Always quote identifiers in check_replicate_row action.
-
Version 2.3.1
+
Version 2.3.1 (October 7, 2008)
  Give a better error if one of the databases cannot be reached.
-
Version 2.3.0
+
Version 2.3.0 (October 4, 2008)
@@ -1330,26 +1337,26 @@ feature requests, and commit notices, send email to Version 2.2.4
+
Version 2.2.4 (October 3, 2008)
  Fix some minor typos
-
Version 2.2.3
+
Version 2.2.3 (October 1, 2008)
  Expand range of allowed names for --repinfo argument (Glyn Astill)
  Documentation tweaks.
-
Version 2.2.2 (September 30, 2008)
+
Version 2.2.2 (September 30, 2008)
  Fixes for minor output and scoping problems.
-
Version 2.2.1 (September 28, 2008)
+
Version 2.2.1 (September 28, 2008)
@@ -1358,20 +1365,20 @@ feature requests, and commit notices, send email to Version 2.2.0 (September 25, 2008)
+
Version 2.2.0 (September 25, 2008)
  Add fsm_pages and fsm_relations actions. (Robert Treat)
-
Version 2.1.4 (September 22, 2008)
+
Version 2.1.4 (September 22, 2008)
  Fix for race condition in txn_time action.
  Add --debugoutput option.
-
Version 2.1.3 (September 22, 2008)
+
Version 2.1.3 (September 22, 2008)
@@ -1427,7 +1434,7 @@ feature requests, and commit notices, send email to Version 1.8.5 (June 22, 2008)
+
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: