Version 1.7.1
authorGreg Sabino Mullane <greg@endpoint.com>
Mon, 2 Jun 2008 16:33:28 +0000 (12:33 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Mon, 2 Jun 2008 16:33:28 +0000 (12:33 -0400)
check_postgres.pl
check_postgres.pl.asc
check_postgres.pl.html

index 8d882255422bb8be86c395944de34f7a1b29b872..17cc74bff0bc9a05394c8a9111d8cc9aacd232ed 100755 (executable)
@@ -28,7 +28,7 @@ $Data::Dumper::Varname = 'POSTGRES';
 $Data::Dumper::Indent = 2;
 $Data::Dumper::Useqq = 1;
 
-our $VERSION = '1.7.0';
+our $VERSION = '1.7.1';
 
 use vars qw/ %opt $PSQL $res $COM $SQL $db /;
 
@@ -2702,7 +2702,7 @@ check_postgres.pl - Postgres monitoring script for Nagios
 
 =head1 VERSION
 
-This documents describes B<check_postgres.pl> version 1.7.0
+This documents describes B<check_postgres.pl> version 1.7.1
 
 =head1 SYNOPSIS
 
@@ -3569,6 +3569,11 @@ Items not specifically attributed are by Greg Sabino Mullane.
 
 =over 4
 
+=item B<Version 1.7.1> (June 2, 2008)
+
+Fix query_time action: account for race condition in which zero rows appear in pg_stat_activity.
+Thanks to Dustin Black for the bug report.
+
 =item B<Version 1.7.0> (May 11, 2008)
 
 Add --replicate_row action
index 3ce36f6ea009423d17514dd553a0d7b943f87430..d7c3579674a93d7d06aa67b07ef53237fc197339 100644 (file)
@@ -1,6 +1,6 @@
 -----BEGIN PGP SIGNATURE-----
 
-iEYEABEDAAYFAkg9kjsACgkQvJuQZxSWSsja8gCfVNIRxr7fHuj/7aZf8KCRjBq/
-F2EAn31EjmZmE8b77ZRHBO2EAyQlx/jF
-=CCFh
+iEYEABEDAAYFAkhEILoACgkQvJuQZxSWSsgewACfbEZ4sL+RqC10h4PNWfS7Ozjv
+XgMAn0pSqw1kO/CkIxouURof3Kbfqker
+=5aGH
 -----END PGP SIGNATURE-----
index 297196d31fbb4c0a3fb6da87a19f10d032205be2..0e5bb9cc3167d60a75884638d3f99b8a20625eed 100644 (file)
@@ -49,7 +49,7 @@
 </p>
 <hr />
 <h1><a name="version">VERSION</a></h1>
-<p>This documents describes <strong>check_postgres.pl</strong> version 1.7.0</p>
+<p>This documents describes <strong>check_postgres.pl</strong> version 1.7.1</p>
 <p>
 </p>
 <hr />
@@ -1119,13 +1119,20 @@ is needed by the <strong>check_disk_space</strong> action.</p>
 <h1><a name="history">HISTORY</a></h1>
 <p>Items not specifically attributed are by Greg Sabino Mullane.</p>
 <dl>
+<dt><strong><a name="1" class="item"><strong>Version 1.7.1</strong> (June 2, 2008)</a></strong>
+
+<dd>
+<p>Fix query_time action: account for race condition in which zero rows appear in pg_stat_activity.
+Thanks to Dustin Black for the bug report.</p>
+</dd>
+</li>
 <dt><strong><a name="0" class="item"><strong>Version 1.7.0</strong> (May 11, 2008)</a></strong>
 
 <dd>
 <p>Add --replicate_row action</p>
 </dd>
 </li>
-<dt><strong><a name="1" class="item"><strong>Version 1.6.1</strong> (May 11, 2008)</a></strong>
+<dt><strong><strong>Version 1.6.1</strong> (May 11, 2008)</strong>
 
 <dd>
 <p>Add --symlinks option as a shortcut to --action=rebuild_symlinks</p>