From 17b0847dd2fe760077d9db8efb9d147e244706ac Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Fri, 17 Jun 2011 14:30:39 +0200 Subject: [PATCH] Collectd::Plugins::OpenVZ: Do not pass interval to plugin_dispatch_values(). Rather, let the perl plugin take care of that and, possibly, use the custom plugin interval. --- bindings/perl/lib/Collectd/Plugins/OpenVZ.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/perl/lib/Collectd/Plugins/OpenVZ.pm b/bindings/perl/lib/Collectd/Plugins/OpenVZ.pm index 29441574..8a9467e0 100644 --- a/bindings/perl/lib/Collectd/Plugins/OpenVZ.pm +++ b/bindings/perl/lib/Collectd/Plugins/OpenVZ.pm @@ -36,7 +36,7 @@ my $last_stat = {}; sub openvz_read { - my %v = (time => time(), interval => $interval_g); + my %v = (time => time()); my (@veids, $veid, $name, $key, $val, $i, @lines, @parts, @counters); @veids = map { s/ //g; $_; } split(/\n/, `$vzlist -Ho veid`); -- 2.30.2