From 7ba85d23c3ddcddb1e9c0347374de6083a3e1c08 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane <greg@endpoint.com> Date: Wed, 4 Feb 2009 11:16:22 -0500 Subject: [PATCH] Doc need for Date::Parse, bump version --- check_postgres.pl | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/check_postgres.pl b/check_postgres.pl index ae2c929f7..ec60ecc1b 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.6.0'; +our $VERSION = '2.6.1'; use vars qw/ %opt $PSQL $res $COM $SQL $db /; @@ -3834,7 +3834,7 @@ sub show_dbstats { =head1 NAME B<check_postgres.pl> - a Postgres monitoring script for Nagios, MRTG, Cacti, and others -This documents describes check_postgres.pl version 2.6.0 +This documents describes check_postgres.pl version 2.6.1 =head1 SYNOPSIS @@ -4238,6 +4238,8 @@ pg_controldata executable must be available in the current path. At least one warning or critical argument must be set. +This action requires the Date::Parse module. + For MRTG or simple output, returns the number of seconds. =head2 B<connection> @@ -5049,6 +5051,8 @@ Access to a working version of psql, and the following very standard Perl module The L</settings_checksum> action requires the B<Digest::MD5> module. +The L</checkpoint> action requires the B<Date::Parse> module. + Some actions require access to external programs. If psql is not explicitly specified, the command B<C<which>> is used to find it. The program B<C</bin/df>> is needed by the L</disk_space> action. @@ -5077,9 +5081,13 @@ Items not specifically attributed are by Greg Sabino Mullane. =over 4 -=item B<Version 2.5.4> (January 7, 2009) +=item B<Version 2.6.1> (February 4, 2009) + + Only require Date::Parse to be loaded if using the checkpoint action. + +=item B<Version 2.6.0> (January 26, 2009) - Add the pitr_lag check. + Add the 'checkpoint' action. =item B<Version 2.5.4> (January 7, 2009) -- 2.39.5