From 7f88949739ae0a359cf98fd88efeeca816f2ed2a Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Thu, 4 Feb 2010 11:33:19 -0500 Subject: Raise sleep timeout for logfile check to 15 seconds --- check_postgres.pl | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'check_postgres.pl') diff --git a/check_postgres.pl b/check_postgres.pl index c75ace1e2..9174dc2d9 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -29,7 +29,7 @@ $Data::Dumper::Varname = 'POSTGRES'; $Data::Dumper::Indent = 2; $Data::Dumper::Useqq = 1; -our $VERSION = '2.13.1'; +our $VERSION = '2.13.2'; use vars qw/ %opt $PSQL $res $COM $SQL $db /; @@ -3763,8 +3763,8 @@ sub check_logfile { delete @{$db}{qw(ok slurp totaltime)}; my $badinfo = run_command("$funky", {failok => 1, target => $db} ); - my $MAXSLEEPTIME = 10; - my $SLEEP = 1; + my $MAXSLEEPTIME = 30; + my $SLEEP = 0.5; my $found = 0; LOGWAIT: { sleep $SLEEP; @@ -6511,7 +6511,7 @@ sub show_dbstats { B - a Postgres monitoring script for Nagios, MRTG, Cacti, and others -This documents describes check_postgres.pl version 2.13.1 +This documents describes check_postgres.pl version 2.13.2 =head1 SYNOPSIS @@ -7979,6 +7979,13 @@ Items not specifically attributed are by Greg Sabino Mullane. =over 4 +=item B (February 4, 2010) + + Show offending database for query_time action. + Apply perflimit to main output for sequence action. + Add 'noowner' option to same_schema action. + Raise sleep timeout for logfile check to 15 seconds. + =item B (February 2, 2010) Fix bug preventing column constraint differences from 2 > 1 for same_schema from being shown. -- cgit v1.2.3