summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorGreg Sabino Mullane2011-02-12 04:56:08 +0000
committerGreg Sabino Mullane2011-02-12 04:56:08 +0000
commitd3fe0b3227b007aa00c4e79ca74016dc49e3a637 (patch)
tree8fe41fef3ef1a0181cdda95557a0b14876032162 /check_postgres.pl
parent5cf21e2f0bf82f0e17cbf3d3ef75c5ae79be4c8d (diff)
Fix MRTG for last_vacuum and last_analzye
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl3
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) {