diff options
author | Greg Sabino Mullane | 2011-02-12 04:56:08 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2011-02-12 04:56:08 +0000 |
commit | d3fe0b3227b007aa00c4e79ca74016dc49e3a637 (patch) | |
tree | 8fe41fef3ef1a0181cdda95557a0b14876032162 /check_postgres.pl | |
parent | 5cf21e2f0bf82f0e17cbf3d3ef75c5ae79be4c8d (diff) |
Fix MRTG for last_vacuum and last_analzye
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index 319dff3d1..f1b66b1e4 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -4092,8 +4092,7 @@ FROM (SELECT nspname, relname, $criteria AS v } } if ($MRTG) { - $stats{$db->{dbname}} = $mintime; - $statsmsg{$db->{dbname}} = msg('vac-msg', $db->{dbname}, $minrel); + do_mrtg({one => $mintime}); return; } if ($maxtime == -2) { |