X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.pod;fp=src%2Fcollectd.conf.pod;h=7a66c8188f8182589da12df69cc04e9dbf21ea1e;hb=218c57128f2e54960133cff3e774b5ef9944068a;hp=42ade4ee7fe6c50f60ca8876c02473a780a1d7e6;hpb=778a6720a300cf549f5bcca9c22a3ef09d97f16f;p=collectd.git diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 42ade4ee..7a66c818 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -2513,6 +2513,23 @@ do that: By setting B to I the effect of B is inverted: All selected interfaces are ignored and all other interfaces are collected. +It is possible to use regular expressions to match interface names, if the +name is surrounded by I and collectd was compiled with support for +regexps. This is useful if there's a need to collect (or ignore) data +for a group of interfaces that are similarly named, without the need to +explicitly list all of them (especially useful if the list is dynamic). +Example: + + Interface "lo" + Interface "/^veth/" + Interface "/^tun[0-9]+/" + IgnoreSelected "true" + +This will ignore the loopback interface, all interfaces with names starting +with I and all interfaces with names starting with I followed by +at least one digit. + + =back =head2 Plugin C