[collectd] Complex data flow filtering.

Florian Forster octo at verplant.org
Thu Aug 20 19:07:04 CEST 2009


Hi Sergey,

On Thu, Aug 20, 2009 at 08:51:16PM +0400, Sergey Vinogradov wrote:
> >                 <Match "regex">
> >                         TypeInstance "[Ee]thernet"
> >                 </Match>
> 
> Hm. Doesn't seem to be working. Which data does "TypeInstance" refer to?

using the “RegEx” match [0] you can select (match) values by name. So if
you can determine the values you wish to ignore by *name*, then this is
our approach. You may have to adapt the regular expression, of course.

If you cannot do this (filtering by ifAdminStatus, for example) you have
the “Empty Counter” match [1] which might be interesting for SNMP users.
It'll be included in the upcoming version 4.8 release.

Filtering by some related fields in the SNMP plugin is currently not
possible. It'd be a nice feature, but unfortunatly kinda tricky to
implement.

HTH, regards,
-octo

[0] <http://collectd.org/wiki/index.php/Match:RegEx>
[1] <http://collectd.org/wiki/index.php/Match:Empty_Counter>
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090820/04efa8cb/attachment.pgp 


More information about the collectd mailing list