diff options
author | mh <mh@immerda.ch> | 2012-11-29 00:24:20 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-11-29 00:24:20 +0100 |
commit | 6a440c04ee381ff184a7b7c9f3a98ca61337df92 (patch) | |
tree | 13885c8631e4c85b1a0faa7001a2e887c68c4753 | |
parent | 005c89cfbd924e204e87a11248b0efe42d5cc8d6 (diff) |
filter correct unwanted interfaces
-rw-r--r-- | manifests/plugins/interfaces.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/plugins/interfaces.pp b/manifests/plugins/interfaces.pp index a7e8ce6..da89ed0 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+|__temp\d+') + $real_ifs = reject(split($::interfaces, ' |,'), 'eth\d+_\d+|sit0|virbr\d+_nic|vif\d+_\d+|veth\d+|__tmp\d+') $ifs = regsubst($real_ifs, '(.+)', "if_\\1") munin::plugin { |