diff options
author | Greg Sabino Mullane | 2008-09-30 22:39:41 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2008-09-30 22:39:41 +0000 |
commit | 428c8670bcb048d97074367d7bbfa896ce103845 (patch) | |
tree | 4e4dc75070a33ab5039523dfcabf9c9489d736b9 | |
parent | ce8e01dbcb292e3aeeba6eac36a60df21a2e9d9c (diff) |
Ready for minor revision: 2.2.2
-rwxr-xr-x | check_postgres.pl | 8 | ||||
-rw-r--r-- | check_postgres.pl.asc | 6 | ||||
-rw-r--r-- | check_postgres.pl.html | 16 | ||||
-rw-r--r-- | index.html | 8 |
4 files changed, 24 insertions, 14 deletions
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<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 =head1 SYNOPSIS @@ -4566,6 +4566,10 @@ Items not specifically attributed are by Greg Sabino Mullane. =over 4 +=item B<Version 2.2.2> (September 30, 2008) + + Fixes for minor output and scoping problems. + =item B<Version 2.2.1> (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 @@ <hr /> <h1><a name="name">NAME</a></h1> <p><strong>check_postgres.pl</strong> - a Postgres monitoring script for Nagios, MRTG, and others -This documents describes check_postgres.pl version 2.2.1</p> +This documents describes check_postgres.pl version 2.2.2</p> <p> </p> <hr /> @@ -568,11 +568,11 @@ outputting free-space-map pageslots in the vacuum verbose command. The default v warning and <strong>95%</strong> for the critical.</p> <p>Example 1: Give a warning when our cluster has used up 76% of the free-space pageslots, with pg_freespacemap installed in database robert</p> <pre> - check_postgres_autovac_freeze --dbname=robert --warning="76%"</pre> + check_postgres_fsm_pages --dbname=robert --warning="76%"</pre> <p>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.</p> -<p>For MRTG output, returns the percent of free-space-map on the first line, the number of pages currently used on +<p>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.</p> <p> </p> @@ -584,7 +584,7 @@ in the free-space-map is determined by looking in the pg_freespacemap_relations the warning and <strong>95%</strong> for the critical.</p> <p>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</p> <pre> - check_postgres_autovac_freeze --dbname=dylan --warning="75%" --schema=emma</pre> + check_postgres_fsm_relations --dbname=dylan --warning="75%" --schema=emma</pre> <p>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 <a href="mailto:check_postgr <h1><a name="history">HISTORY</a></h1> <p>Items not specifically attributed are by Greg Sabino Mullane.</p> <dl> +<dt><strong><a name="item_2"><strong>Version 2.2.2</strong> (September 30, 2008)</a></strong></dt> + +<dd> +<pre> + Fixes for minor output and scoping problems.</pre> +</dd> <dt><strong><a name="item_1"><strong>Version 2.2.1</strong> (September 28, 2008)</a></strong></dt> <dd> @@ -1124,7 +1130,7 @@ feature requests, and commit notices, send email to <a href="mailto:check_postgr Allow alternate arguments "dbhost" for "host" and "dbport" for "port". Output a zero as default value for second line of MRTG output.</pre> </dd> -<dt><strong><a name="item_2"><strong>Version 2.1.2</strong> (July 28, 2008)</a></strong></dt> +<dt><strong><strong>Version 2.1.2</strong> (July 28, 2008)</strong></dt> <dd> <pre> diff --git a/index.html b/index.html index 2c59a3ca4..21df63c07 100644 --- a/index.html +++ b/index.html @@ -21,14 +21,14 @@ h1 { <h1>check_postgres.pl</h1> -<p><b>check_postgres.pl</b> 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 <a href="http://www.endpoint.com/">End Point Corporation</a> and is BSD-licensed. The latest version is <b>2.2.1</b>, and was released on September 28, 2008.</p> +<p><b>check_postgres.pl</b> 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 <a href="http://www.endpoint.com/">End Point Corporation</a> and is BSD-licensed. The latest version is <b>2.2.2</b>, and was released on September 30, 2008.</p> <ul> - <li><a href="/https/git.postgresql.org/check_postgres/check_postgres.pl.html">Documentation for check_postgres 2.2.1</a></li> + <li><a href="/https/git.postgresql.org/check_postgres/check_postgres.pl.html">Documentation for check_postgres 2.2.2</a></li> </ul> <ul> - <li><a href="/https/git.postgresql.org/check_postgres/check_postgres.pl">Download check_postgres.pl 2.2.1</a></li> - <li><a href="/https/git.postgresql.org/check_postgres/check_postgres.pl.asc">PGP signature for check_postgres.pl</a></li> + <li><a href="/https/git.postgresql.org/check_postgres/check_postgres.pl">Download check_postgres.pl 2.2.2</a></li> + <li><a href="/https/git.postgresql.org/check_postgres/check_postgres.pl.asc">PGP signature for check_postgres.pl 2.2.2</a></li> </ul> <p>The latest development version can be downloaded via git:</p> |