summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3e2f191)
raw | patch | inline | side by side (parent: 3e2f191)
author | Sebastian Harl <sh@tokkee.org> | |
Fri, 17 Jun 2011 12:30:39 +0000 (14:30 +0200) | ||
committer | Sebastian Harl <sh@teamix.net> | |
Mon, 19 Sep 2011 07:47:12 +0000 (09:47 +0200) |
Rather, let the perl plugin take care of that and, possibly, use the custom
plugin interval.
plugin interval.
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 294415747c616f91f252ef30418c5fa583830336..8a9467e0223ebd36a74781a777dc04346bca9506 100644 (file)
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`);