[collectd] Interface Plugin: Do Wildcard matches work?

Giovanni Torres giovanni.torres at gmail.com
Wed Jun 17 18:18:35 CEST 2015


On Wed, Jun 17, 2015 at 5:40 AM, Markus "Shorty" Uckelmann
<shorty at koeln.de> wrote:
> Hi all,
>
> I tried this Interface config in Collectd 5.4:
>
> <Plugin "interface">
>     Interface 'veth*'
>     IgnoreSelected true
> </Plugin>
>
> I want to exclude all devices beginning with veth. But this doens't work.
> Can the plugin even work with wildcards?

It works with a regex.  Try the following:

<Plugin interface>
    Interface "/^veth*/"
    IgnoreSelected true
</Plugin>

-Giovanni



More information about the collectd mailing list