From eeee599d3de438d72e44cce0eb427838135f87ad Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 14 Nov 2012 18:58:01 +0100 Subject: [PATCH] Collectd::Plugins::OpenVZ: Use plugin_get_interval() rather than $interval_g. --- 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..ea3cee99 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(), interval => plugin_get_interval()); my (@veids, $veid, $name, $key, $val, $i, @lines, @parts, @counters); @veids = map { s/ //g; $_; } split(/\n/, `$vzlist -Ho veid`); -- 2.11.0