summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Sabino Mullane2013-09-24 19:00:04 +0000
committerGreg Sabino Mullane2013-09-24 19:00:04 +0000
commit74f8a3d7b3c8a73fcd1d475a9a298ce95225cf97 (patch)
treea05421d688ddb51f61d1ce4ceb4d00c4d355f05d
parent5dee73d1b945ba3e078028f6f66dbd853d6649ac (diff)
Version bump, better binmode
-rwxr-xr-xcheck_postgres.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index d168c57a4..03ab43a23 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -30,9 +30,9 @@ $Data::Dumper::Varname = 'POSTGRES';
$Data::Dumper::Indent = 2;
$Data::Dumper::Useqq = 1;
-binmode STDOUT, ':utf8';
+binmode STDOUT, ':encoding(UTF-8)';
-our $VERSION = '2.20.2';
+our $VERSION = '2.21.0';
use vars qw/ %opt $PGBINDIR $PSQL $res $COM $SQL $db /;
@@ -7930,7 +7930,7 @@ sub check_wal_files {
B<check_postgres.pl> - a Postgres monitoring script for Nagios, MRTG, Cacti, and others
-This documents describes check_postgres.pl version 2.20.2
+This documents describes check_postgres.pl version 2.21.0
=head1 SYNOPSIS
@@ -9759,7 +9759,7 @@ Items not specifically attributed are by GSM (Greg Sabino Mullane).
=over 4
-=item B<Version 2.20.2>
+=item B<Version 2.21.0> September 24, 2013
Fix issue with SQL steps in check_pgagent_jobs for sql steps which perform deletes
(Rob Emery via github pull)