diff options
author | Greg Sabino Mullane | 2009-02-06 13:35:56 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2009-02-06 13:35:56 +0000 |
commit | 32d9df7ad3e2fa08003e814d999f2c7a91b859af (patch) | |
tree | 63274b34157e3f20e81def89a12c3a1c3f880594 /check_postgres.pl | |
parent | 8ed16cc86b4d8e901ea84e516071917dffc94833 (diff) |
Allow -p for port again.
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index a87848f31..b09cec441 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 |