$Data::Dumper::Indent = 2;
$Data::Dumper::Useqq = 1;
-our $VERSION = '2.13.2';
+our $VERSION = '2.13.3';
use vars qw/ %opt $PSQL $res $COM $SQL $db /;
delete @{$db}{qw(ok slurp totaltime)};
my $badinfo = run_command("$funky", {failok => 1, target => $db} );
- my $MAXSLEEPTIME = 30;
+ my $MAXSLEEPTIME = $opt{timeout} || 45;
my $SLEEP = 0.5;
my $found = 0;
LOGWAIT: {
B<check_postgres.pl> - a Postgres monitoring script for Nagios, MRTG, Cacti, and others
-This documents describes check_postgres.pl version 2.13.2
+This documents describes check_postgres.pl version 2.13.3
=head1 SYNOPSIS
=over 4
+=item B<Version 2.13.2> (February 4, 2010)
+
+ Allow timeout option to be used for logtime 'sleep' time.
+
=item B<Version 2.13.2> (February 4, 2010)
Show offending database for query_time action.