From: Greg Sabino Mullane Date: Mon, 24 Aug 2009 16:05:13 +0000 (-0400) Subject: Proper Nagios output for last_vacuum|analyze actions. (Cédric Villemain) X-Git-Tag: c9ed279d3bf192e41b4d5c7d65f115fa49ae2519~14 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=b07697073480ec5a4d5c8990790e4ee3cabc0970;p=check_postgres.git Proper Nagios output for last_vacuum|analyze actions. (Cédric Villemain) --- diff --git a/check_postgres.pl b/check_postgres.pl index be6f47161..f3084b109 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -3404,7 +3404,7 @@ sub check_last_vacuum_analyze { $maxtime = -2 if $maxtime < 1; next SLURP; } - $db->{perf} .= " $schema.$name=$time" if $time >= 0; + $db->{perf} .= " $db->{dbname}.$schema.$name=${time}s;$warning;$critical" if $time >= 0; if ($time > $maxtime) { $maxtime = $time; $maxrel = "$schema.$name"; @@ -7708,6 +7708,10 @@ Items not specifically attributed are by Greg Sabino Mullane. =over 4 +=item B + + Proper Nagios output for last_vacuum|analyze actions. (Cédric Villemain) + =item B (August 23, 2009) Add Nagios perf output to the wal_files check (Cédric Villemain)