From: Greg Sabino Mullane Date: Tue, 30 Sep 2008 22:39:41 +0000 (-0400) Subject: Ready for minor revision: 2.2.2 X-Git-Tag: 2.9.0~243 X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=428c8670bcb048d97074367d7bbfa896ce103845;p=check_postgres.git Ready for minor revision: 2.2.2 --- diff --git a/check_postgres.pl b/check_postgres.pl index 4e6402e97..794a5119c 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.2.1'; +our $VERSION = '2.2.2'; use vars qw/ %opt $PSQL $res $COM $SQL $db /; @@ -3453,7 +3453,7 @@ sub check_replicate_row { =head1 NAME B - a Postgres monitoring script for Nagios, MRTG, and others -This documents describes check_postgres.pl version 2.2.1 +This documents describes check_postgres.pl version 2.2.2 =head1 SYNOPSIS @@ -4566,6 +4566,10 @@ Items not specifically attributed are by Greg Sabino Mullane. =over 4 +=item B (September 30, 2008) + + Fixes for minor output and scoping problems. + =item B (September 28, 2008) Add MRTG output to fsm_pages and fsm_relations. diff --git a/check_postgres.pl.asc b/check_postgres.pl.asc index 0bbdb3368..e94f8c796 100644 --- a/check_postgres.pl.asc +++ b/check_postgres.pl.asc @@ -1,6 +1,6 @@ -----BEGIN PGP SIGNATURE----- -iEYEABEDAAYFAkjgNqEACgkQvJuQZxSWSshLLwCfSm9fSFgD7G1sw3HF4feO6Ty2 -YP8AnAsXp0aatGsXcbYBmd5IyqqPoVHD -=isvP +iEYEABEDAAYFAkjiqlMACgkQvJuQZxSWSsjdLQCfVktdwma5PKPVrySo3yD2a9UV +Mx8Amwf/o4TugjHmqOBDBHUzWmocW/bp +=qBvl -----END PGP SIGNATURE----- diff --git a/check_postgres.pl.html b/check_postgres.pl.html index 4848c9527..90af550eb 100644 --- a/check_postgres.pl.html +++ b/check_postgres.pl.html @@ -89,7 +89,7 @@

NAME

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

+This documents describes check_postgres.pl version 2.2.2


@@ -568,11 +568,11 @@ outputting free-space-map pageslots in the vacuum verbose command. The default v warning and 95% for the critical.

Example 1: Give a warning when our cluster has used up 76% of the free-space pageslots, with pg_freespacemap installed in database robert

-  check_postgres_autovac_freeze --dbname=robert --warning="76%"
+ check_postgres_fsm_pages --dbname=robert --warning="76%"

While you need to pass in the name of the database where pg_freespacemap is installed (and optionally a schema name if you have installed the module in a non-standard schema), you only need to run this check once per cluster. Also, checking this information does require obtaining special locks on the free-space-map, so it is recommend you do not run this check with short intervals.

-

For MRTG output, returns the percent of free-space-map on the first line, the number of pages currently used on +

For MRTG output, returns the percent of free-space-map on the first line, and the number of pages currently used on the second line.

@@ -584,7 +584,7 @@ in the free-space-map is determined by looking in the pg_freespacemap_relations the warning and 95% for the critical.

Example 1: Give a warning when our cluster has used up 80% of the free-space relations, with pg_freespacemap installed in database dylan, in non-standard schema emma

-  check_postgres_autovac_freeze --dbname=dylan --warning="75%" --schema=emma
+ check_postgres_fsm_relations --dbname=dylan --warning="75%" --schema=emma

While you need to pass in the name of the database where pg_freespacemap is installed (and optionally a schema name if you have installed the module in a non-standard schema), you only need to run this check once per cluster. Also, checking this information does require obtaining special locks on the free-space-map, so it is recommend you do not @@ -1095,6 +1095,12 @@ feature requests, and commit notices, send email to HISTORY

Items not specifically attributed are by Greg Sabino Mullane.

+
Version 2.2.2 (September 30, 2008)
+ +
+
+ Fixes for minor output and scoping problems.
+
Version 2.2.1 (September 28, 2008)
@@ -1124,7 +1130,7 @@ feature requests, and commit notices, send email to Version 2.1.2 (July 28, 2008) +
Version 2.1.2 (July 28, 2008)
diff --git a/index.html b/index.html
index 2c59a3ca4..21df63c07 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.2.1, and was released on September 28, 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.2.2, and was released on September 30, 2008.

The latest development version can be downloaded via git: