[check_postgres] [commit] Allow -p for port again.
check_postgres at bucardo.org
check_postgres at bucardo.org
Fri Feb 6 13:36:48 UTC 2009
Committed by Greg Sabino Mullane <greg at endpoint.com>
Allow -p for port again.
---
check_postgres.pl | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/check_postgres.pl b/check_postgres.pl
index a87848f..b09cec4 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.7.0';
+our $VERSION = '2.7.1';
use vars qw/ %opt $PSQL $res $COM $SQL $db /;
@@ -106,14 +106,14 @@ die $USAGE unless
'excludeuser=s@',
'host|dbhost|H=s@',
- 'port|dbport=s@',
+ 'port|dbport|p=s@',
'dbname|db=s@',
'dbuser|u=s@',
'dbpass=s@',
'dbservice=s@',
'host2|dbhost2|H2=s@',
- 'port2|dbport2=s@',
+ 'port2|dbport2|p2=s@',
'dbname2|db2=s@',
'dbuser2|u2=s@',
'dbpass2=s@',
@@ -3832,7 +3832,7 @@ sub show_dbstats {
B<check_postgres.pl> - a Postgres monitoring script for Nagios, MRTG, Cacti, and others
-This documents describes check_postgres.pl version 2.7.0
+This documents describes check_postgres.pl version 2.7.1
=head1 SYNOPSIS
@@ -5086,6 +5086,10 @@ Items not specifically attributed are by Greg Sabino Mullane.
=over 4
+=item B<Version 2.7.1> (February 6, 2009)
+
+ Allow the -p argument for port to work again.
+
=item B<Version 2.7.0> (February 4, 2009)
Do not require a connection argument, but use defaults and ENV variables when
--
1.6.0.5
More information about the Check_postgres
mailing list