Code

interface plugin: Fix for bogus interfaces under Solaris.
authorEddy Geez <eddygeez@gmail.com>
Sat, 3 Sep 2011 13:10:21 +0000 (09:10 -0400)
committerFlorian Forster <octo@collectd.org>
Sat, 3 Sep 2011 13:10:21 +0000 (09:10 -0400)
commite7a75874a24c1bf19931d5b4b423a0daa7f9be6b
treedeedbbf49dd21ca99c75943c73eca9a19169d1cb
parentf04b1af033df4e2d46ca85280430a7e61ae48b1a
interface plugin: Fix for bogus interfaces under Solaris.

Under newer versions of Solaris, the method for finding network interfaces
results in 'collectd' gathering statistics on an interface called 'mac', along
with 16 interfaces named 'wrsmd0' through 'wrsmd15' (which are for WCI Remote
Shared Memory). The 'mac' interface is especially problematic because it
occurs multiple times, which results in warnings from rrdtool about insertions
with the same timestamp.

Change-Id: I1ae070ecbc820da25c0f0ad457aba80213339fd2
Signed-off-by: Florian Forster <octo@collectd.org>
src/interface.c