From: Greg Sabino Mullane Date: Mon, 22 Sep 2008 14:06:20 +0000 (-0400) Subject: Bump version, update docs. X-Git-Tag: 2.9.0~269 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=3f841b0cc3ba64d9b042d47810fa31eede4b5a65;p=check_postgres.git Bump version, update docs. --- diff --git a/check_postgres.pl b/check_postgres.pl index 3e5749eab..588c552c1 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.1.2'; +our $VERSION = '2.1.3'; use vars qw/ %opt $PSQL $res $COM $SQL $db /; @@ -3262,7 +3262,7 @@ sub check_replicate_row { =head1 NAME B - a Postgres monitoring script for Nagios, MRTG, and others -This documents describes check_postgres.pl version 2.1.2 +This documents describes check_postgres.pl version 2.1.3 =head1 SYNOPSIS @@ -3360,12 +3360,12 @@ All actions accept a common set of database options. At least one is required. =item B<-H NAME> or B<--host=NAME> Connect to the host indicated by NAME. Can be a comma-separated list of names. Multiple host arguments -are allowed. If no host is given, defaults to a local Unix socket. +are allowed. If no host is given, defaults to a local Unix socket. You may also use "--dbhost". =item B<-p PORT> or B<--port=PORT> Connects using the specified PORT number. Can be a comma-separated list of port numbers, and multiple -port arguments are allowed. If no port number is given, the default is 5432. +port arguments are allowed. If no port number is given, the default is 5432. You may also use "--dbport" =item B<-db NAME> or B<--dbname=NAME> @@ -4328,6 +4328,12 @@ Items not specifically attributed are by Greg Sabino Mullane. =over 4 +=item B (September 22, 2008) + + Allow alternate arguments "dbhost" for "host" and "dbport" for "port". + + Output a zero as default value for second line of MRTG output. + =item B (July 28, 2008) Fix sorting error in the "disk_space" action for non-Nagios output.