[collectd] traffic plugin: ignore interfaces

Florian Forster octo at verplant.org
Thu May 4 23:36:59 CEST 2006


Hi Sune,

On Thu, May 04, 2006 at 09:04:41PM +0200, Sune Marcher wrote:
> In case anybody's interested, here's a patch to make the traffic
> plugin ignore certain interfaces - I got tired of 'dummy0' and 'lo'
> showing up in my stats. Only works for /proc/net/dev source, and could
> probably use some more work, but so could the entire plugin ;)

thank you for your pach, I'll look at it as soon as possible, most
likely on Saturday since I'll be at the `LinuxTag' tomorrow.

Using the config option for all read-implementations should be as easy
as moving the `ignore_if_check' into he `submit' function..

Regards,
-octo
-- 
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/20060504/801916e5/attachment.pgp


More information about the collectd mailing list