[collectd] Complex data flow filtering.

Sergey Vinogradov boogie at lazybytes.org
Thu Aug 20 18:51:16 CEST 2009

Domagoj Mikac wrote:
> Hi Sergey, 
> If you are using rrdtool as an output plugin, the solution below might
> help you:
> LoadPlugin match_regex
> <Chain "PostCache">
>         <Rule "write_ethernet">
>                 <Match "regex">
>                         TypeInstance "[Ee]thernet"
>                 </Match>
> 	        <Target "write">
> 	                 Plugin "rrdtool"
> 	        </Target>
>         </Rule>
>         # default target
>         Target "stop"
> </Chain>

Hm. Doesn't seem to be working. Which data does "TypeInstance" refer to?
To "Instance" in <plugin snmp><data> structure? Then it will not work,
because I have 'Instance "IF-MIB::ifDescr"' there, not "IF-MIB::ifType".
And setting it to "ifType" is a problem, because it's the same string
for all interfaces, and it causes a mess in RRDs written.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090820/33cdc9b4/attachment.pgp 

More information about the collectd mailing list