diff options
author | Greg Sabino Mullane | 2008-10-14 01:13:51 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2008-10-14 01:13:51 +0000 |
commit | a4a8f8b64df35ababdf2655aa72bde13303e26dd (patch) | |
tree | eef50e3f8181d6ac5615a09bf15caa1ef8ae1578 | |
parent | f9972e73af05518d20712e9a3544714881ec5aa4 (diff) |
Small fix by Robert Treat
-rwxr-xr-x | check_postgres.pl | 10 | ||||
-rw-r--r-- | check_postgres.pl.asc | 6 | ||||
-rw-r--r-- | check_postgres.pl.html | 8 | ||||
-rw-r--r-- | index.html | 8 |
4 files changed, 21 insertions, 11 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index 617bdd1ad..11ff3b6eb 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.3.5'; +our $VERSION = '2.3.6'; use vars qw/ %opt $PSQL $res $COM $SQL $db /; @@ -2149,7 +2149,7 @@ sub check_fsm_pages { qq{FROM (SELECT (sumrequests+numrels)*chunkpages AS pages\n}. qq{ FROM (SELECT SUM(CASE WHEN avgrequest IS NULL THEN interestingpages/32 }. qq{ ELSE interestingpages/16 END) AS sumrequests,\n}. - qq{ COUNT(relfilenode) AS numrels, 16 AS chunkpages FROM pg_freespacemap_relations) AS foo) AS foo2,\n}. + qq{ COUNT(relfilenode) AS numrels, 16 AS chunkpages FROM $schema.pg_freespacemap_relations) AS foo) AS foo2,\n}. qq{ (SELECT setting::NUMERIC AS maxx FROM pg_settings WHERE name = 'max_fsm_pages') AS foo3}; my $info = run_command($SQL, {regex => qr[\d+] } ); @@ -3562,7 +3562,7 @@ sub check_sequence { =head1 NAME B<check_postgres.pl> - a Postgres monitoring script for Nagios, MRTG, and others -This documents describes check_postgres.pl version 2.3.5 +This documents describes check_postgres.pl version 2.3.6 =head1 SYNOPSIS @@ -4703,6 +4703,10 @@ Items not specifically attributed are by Greg Sabino Mullane. =over 4 +=item B<Version 2.3.6> + + Add missing $schema to check_fsm_pages. (Robert Treat) + =item B<Version 2.3.5> Change option 'checktype' to 'valtype' to prevent collisions with -c[ritical] diff --git a/check_postgres.pl.asc b/check_postgres.pl.asc index 00c88bc4b..6bb816f30 100644 --- a/check_postgres.pl.asc +++ b/check_postgres.pl.asc @@ -1,6 +1,6 @@ -----BEGIN PGP SIGNATURE----- -iEYEABEDAAYFAkjusrMACgkQvJuQZxSWSsjDUQCgu6T4M3w5UJzJ9nz8kWfilZ4l -qcEAoM1iZv0KoMYdJsVjSen2IWMbyCoY -=yY4X +iEUEABEDAAYFAkjz8gUACgkQvJuQZxSWSsiVkQCYnZDHcq4IIrsgEx+pOPj7Vg96 +ugCbB61rFwYdg9At4cECcttnPHDA0R8= +=VnYF -----END PGP SIGNATURE----- diff --git a/check_postgres.pl.html b/check_postgres.pl.html index 51d213445..3a818e913 100644 --- a/check_postgres.pl.html +++ b/check_postgres.pl.html @@ -90,7 +90,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.3.5</p> +This documents describes check_postgres.pl version 2.3.6</p> <p> </p> <hr /> @@ -1119,6 +1119,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_version_2_2e3_2e6"><strong>Version 2.3.6</strong></a></strong></dt> + +<dd> +<pre> + Add missing $schema to check_fsm_pages. (Robert Treat)</pre> +</dd> <dt><strong><a name="item_version_2_2e3_2e5"><strong>Version 2.3.5</strong></a></strong></dt> <dd> diff --git a/index.html b/index.html index 2b3cb6472..a5e6fa99d 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.3.5</b>, and was released on October 09, 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.3.6</b>, and was released on October 13, 2008.</p> <ul> - <li><a href="/https/git.postgresql.org/check_postgres/check_postgres.pl.html">Documentation for check_postgres 2.3.5</a></li> + <li><a href="/https/git.postgresql.org/check_postgres/check_postgres.pl.html">Documentation for check_postgres 2.3.6</a></li> </ul> <ul> - <li><a href="/https/git.postgresql.org/check_postgres/check_postgres.pl">Download check_postgres.pl 2.3.5</a></li> - <li><a href="/https/git.postgresql.org/check_postgres/check_postgres.pl.asc">PGP signature for check_postgres.pl 2.3.5</a></li> + <li><a href="/https/git.postgresql.org/check_postgres/check_postgres.pl">Download check_postgres.pl 2.3.6</a></li> + <li><a href="/https/git.postgresql.org/check_postgres/check_postgres.pl.asc">PGP signature for check_postgres.pl 2.3.6</a></li> </ul> <p>The latest development version can be downloaded via git:</p> |