From 86196815ac119a33b7748dbc733459f761a687fe Mon Sep 17 00:00:00 2001
From: Greg Sabino Mullane
Date: Thu, 18 Feb 2010 17:03:46 -0500
Subject: [PATCH] Version 2.14.2
---
META.yml | 4 ++--
Makefile.PL | 2 +-
SIGNATURE | 16 ++++++++--------
check_postgres.pl | 13 ++++++++-----
check_postgres.pl.asc | 6 +++---
check_postgres.pl.html | 26 ++++++++++++++++----------
6 files changed, 38 insertions(+), 29 deletions(-)
diff --git a/META.yml b/META.yml
index 76d37aebe..6ddaf3660 100644
--- a/META.yml
+++ b/META.yml
@@ -1,6 +1,6 @@
--- #YAML:1.0
name : check_postgres.pl
-version : 2.14.1
+version : 2.14.2
abstract : Postgres monitoring script
author:
- Greg Sabino Mullane
@@ -30,7 +30,7 @@ recommends:
provides:
check_postgres:
file : check_postgres.pl
- version : 2.14.1
+ version : 2.14.2
keywords:
- Postgres
diff --git a/Makefile.PL b/Makefile.PL
index 9ff0ffb44..5166c77ec 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -6,7 +6,7 @@ use strict;
use warnings;
use 5.006001;
-my $VERSION = '2.14.1';
+my $VERSION = '2.14.2';
if ($VERSION =~ /_/) {
print "WARNING! This is a test version ($VERSION) and should not be used in production!\n";
diff --git a/SIGNATURE b/SIGNATURE
index 018fa478f..45e473321 100644
--- a/SIGNATURE
+++ b/SIGNATURE
@@ -18,13 +18,13 @@ SHA1 de1474d7cbc69698971954ffb80760269b218e1f .gitignore
SHA1 34704b2a862f8ea670ed335230affc9ef3e3acb9 .perlcriticrc
SHA1 19f7436035c2dd1b1edc7bfdc138409d872338b0 MANIFEST
SHA1 92f9e28d28d95763cce24d588b19262efc7218f7 MANIFEST.SKIP
-SHA1 a7836851e1b720d874ab1e3a3d8bfe292d823f36 META.yml
-SHA1 0ead49d130f1461a496f7229d7045ee4b9003121 Makefile.PL
+SHA1 930ab275a8f88628a0c1935b8b6e4a22ec20e689 META.yml
+SHA1 b44a9cb5e3cbaee7f0a0b700cf1009ed3eda2960 Makefile.PL
SHA1 709742a5933a43cc3e82ee935cd63a45f176adda README
SHA1 6a627ce3f10fd9993b65210733d6098ef6a42dca TODO
-SHA1 54fa182fe52823058cec64dcc7c3bd07cd09bf56 check_postgres.pl
-SHA1 8bdb1ecfb303944074adfec2ab07f8be28103963 check_postgres.pl.asc
-SHA1 d65da965fc3c42b101ffaf3c9f868a9b996d421a check_postgres.pl.html
+SHA1 eeaf5e7d96e8da58e6e438e88c5eb99aaf2735d4 check_postgres.pl
+SHA1 d40000f8723d13df9f652ff544b91a70e38f6535 check_postgres.pl.asc
+SHA1 fa27b8ac7e397eab233030c36daf884ad1d08cd1 check_postgres.pl.html
SHA1 c3d239c75a507a0b4d5a245ea82fb2e7fe2869cd t/00_basic.t
SHA1 a29dcbcc2e34d409ad30e8f87b9c4c09db877c4e t/00_signature.t
SHA1 b3b833488dca6a766aa185c2457d361a978103cb t/00_test_tester.t
@@ -69,7 +69,7 @@ SHA1 96e6e5da3e1f6753a469e7afc8cf070024b33b23 t/99_cleanup.t
SHA1 058e1b59e21c039b6c79f0be3e1a6c2dbcbd5add t/CP_Testing.pm
-----BEGIN PGP SIGNATURE-----
-iEYEAREDAAYFAkt0KGkACgkQvJuQZxSWSsiPMACggMzdzcdaElmcfE7piKySSyr3
-o74AoLNlFbNei7TcDEhD8UsLRbGv+qHQ
-=C/Xg
+iEYEAREDAAYFAkt9uGAACgkQvJuQZxSWSsh4DACfd1KJKHDh0x9W2i//nqDM3utY
+qYwAoOnA+rOI3aaoLGDF0fxtoK4i99O0
+=lFFB
-----END PGP SIGNATURE-----
diff --git a/check_postgres.pl b/check_postgres.pl
index ace75f6f2..e6fc9da69 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -29,7 +29,7 @@ $Data::Dumper::Varname = 'POSTGRES';
$Data::Dumper::Indent = 2;
$Data::Dumper::Useqq = 1;
-our $VERSION = '2.14.1';
+our $VERSION = '2.14.2';
use vars qw/ %opt $PSQL $res $COM $SQL $db /;
@@ -6587,7 +6587,7 @@ sub show_dbstats {
B - a Postgres monitoring script for Nagios, MRTG, Cacti, and others
-This documents describes check_postgres.pl version 2.14.1
+This documents describes check_postgres.pl version 2.14.2
=head1 SYNOPSIS
@@ -8074,13 +8074,16 @@ Items not specifically attributed are by Greg Sabino Mullane.
=over 4
-=item B (February 18, 2010)
+=item B (February 18, 2010)
+
+ Change autovac_freeze default warn/critical back to 90%/95% (Robert Treat)
+ Put all items one-per-line for relation size actions if --verbose=1
+
+=item B (February 17, 2010)
Don't use $^T in logfile check, as script may be long-running
Change the error string for the logfile action for easier exclusion
by programs like tail_n_mail
- Change autovac_freeze default warn/critical back to 90%/95% (Robert Treat)
- Put all items one-per-line for relation size actions if --verbose=1
=item B (February 11, 2010)
diff --git a/check_postgres.pl.asc b/check_postgres.pl.asc
index 666a5ccae..83d641f31 100644
--- a/check_postgres.pl.asc
+++ b/check_postgres.pl.asc
@@ -1,6 +1,6 @@
-----BEGIN PGP SIGNATURE-----
-iEYEABEDAAYFAkt0KGYACgkQvJuQZxSWSsjPFgCfQUysAtW1k3yCJiHpGf7eOaKU
-Ye4AnA7dVovV35aHZ0vrzcRV39i9fg+s
-=zJIi
+iEYEABEDAAYFAkt9uFkACgkQvJuQZxSWSsi9xwCgi8RMixproWXizhkyw+HC/YE3
+YTwAnRjS9lcF71yq3DYeQ+MsQFLLcaKN
+=L+tl
-----END PGP SIGNATURE-----
diff --git a/check_postgres.pl.html b/check_postgres.pl.html
index aa65d1204..602c9d24a 100644
--- a/check_postgres.pl.html
+++ b/check_postgres.pl.html
@@ -105,7 +105,7 @@
check_postgres.pl - a Postgres monitoring script for Nagios, MRTG, Cacti, and others
-This documents describes check_postgres.pl version 2.14.1
+This documents describes check_postgres.pl version 2.14.2
@@ -431,13 +431,12 @@ critical is an effective way to turn warnings off and always give a critical.
--warning and
--critical options should be expressed as percentages. The 'age' of the transactions
in each database is compared to the autovacuum_freeze_max_age setting (200 million by default)
-to generate a rounded percentage. The default values are 105% for the warning and 120% for
-the critical. Since autovacuum does not vacuum tables before they reach this limit, setting
-levels below 100% will return false positives. Databases can be filtered by use of the
---include and --exclude options. See the BASIC FILTERING section for more details.
-Example 1: Give a warning when any databases on port 5432 are above 100%
+to generate a rounded percentage. The default values are 90% for the warning and 95% for
+the critical. Databases can be filtered by use of the --include and --exclude options.
+See the BASIC FILTERING section for more details.
+Example 1: Give a warning when any databases on port 5432 are above 97%
- check_postgres_autovac_freeze --port=5432 --warning="100%"
+ check_postgres_autovac_freeze --port=5432 --warning="97%"
For MRTG output, the highest overall percentage is reported on the first line, and the highest age is
reported on the second line. All databases which have the percentage from the first line are reported
on the fourth line, separated by a pipe symbol.
@@ -1462,7 +1461,14 @@ feature requests, and commit notices, send email to HISTORY
Items not specifically attributed are by Greg Sabino Mullane.
-- Version 2.14.1
+- Version 2.14.2 (February 18, 2010)
+
+-
+
+ Change autovac_freeze default warn/critical back to 90%/95% (Robert Treat)
+ Put all items one-per-line for relation size actions if --verbose=1
+
+- Version 2.14.1 (February 17, 2010)
-
@@ -1477,7 +1483,7 @@ feature requests, and commit notices, send email to Version 2.13.2 (February 4, 2010)
+
- Version 2.13.2 (February 4, 2010)
-
@@ -1492,7 +1498,7 @@ feature requests, and commit notices, send email to Version 2.13.1 (February 2, 2010)
+
- Version 2.13.1 (February 2, 2010)
-
--
2.30.2