projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65d2566
)
Collectd::Plugins::OpenVZ: Use plugin_get_interval() rather than $interval_g.
author
Sebastian Harl
<sh@tokkee.org>
Wed, 14 Nov 2012 17:58:01 +0000
(18:58 +0100)
committer
Sebastian Harl
<sh@tokkee.org>
Wed, 14 Nov 2012 17:58:01 +0000
(18:58 +0100)
bindings/perl/lib/Collectd/Plugins/OpenVZ.pm
patch
|
blob
|
history
diff --git
a/bindings/perl/lib/Collectd/Plugins/OpenVZ.pm
b/bindings/perl/lib/Collectd/Plugins/OpenVZ.pm
index
2944157
..
ea3cee9
100644
(file)
--- 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`);