summaryrefslogtreecommitdiff
path: root/manifests/plugins
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2014-12-05 20:07:47 +0000
committerintrigeri <intrigeri@boum.org>2014-12-05 20:07:47 +0000
commit7e03247a9e219fe8e57d544957eb06e305e69fc1 (patch)
treeab315922f6c43c25c45e55e4edaf9949f8e854a8 /manifests/plugins
parenta5ce0a9317fc5dd5228cff4c5b6d36366c17b6d5 (diff)
Ignore vnet\d+ network interfaces, just like veth, virbr etc.
Diffstat (limited to 'manifests/plugins')
-rw-r--r--manifests/plugins/interfaces.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/plugins/interfaces.pp b/manifests/plugins/interfaces.pp
index da89ed0..c57e887 100644
--- a/manifests/plugins/interfaces.pp
+++ b/manifests/plugins/interfaces.pp
@@ -2,7 +2,7 @@
class munin::plugins::interfaces {
# filter out many of the useless interfaces that show up
- $real_ifs = reject(split($::interfaces, ' |,'), 'eth\d+_\d+|sit0|virbr\d+_nic|vif\d+_\d+|veth\d+|__tmp\d+')
+ $real_ifs = reject(split($::interfaces, ' |,'), 'eth\d+_\d+|sit0|virbr\d+_nic|vif\d+_\d+|veth\d+|vnet\d+|__tmp\d+')
$ifs = regsubst($real_ifs, '(.+)', "if_\\1")
munin::plugin {