From: Sebastian Harl Date: Fri, 17 Jun 2011 12:30:39 +0000 (+0200) Subject: Collectd::Plugins::OpenVZ: Do not pass interval to plugin_dispatch_values(). X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=17b0847dd2fe760077d9db8efb9d147e244706ac;p=collectd.git 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. --- 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`);