[collectd] collect Snmp exclude
Domagoj Mikac
Domagoj.Mikac at metronet.hr
Mon Aug 17 21:23:41 CEST 2009
Hi Sebastian,
Thank you for your fast response, but even if I remove the line Plugininstance "^snmp$", filtering still doesn't work.
Each time I remove all rrds belonging to Loopback interfaces, and after I restart collectd it recreates them again.
I have about 4000 devices in the network and excluding unnecessary interfaces is crucial because I have to lower a server load. Each device has up to a couple of hundred interfaces, and I have to monitor only some of them.
Is it possible to filter out some interfaces directly in snmp plugin configuration section ?
<Chain "Main">
<Rule "ignore_Loopback">
<Match "regex">
TypeInstance "Loopback"
</Match>
Target "stop"
</Rule>
#################################################3
# default target
<Target "write">
Plugin "rrdtool"
</Target>
</Chain>
-----Original Message-----
From: Sebastian Harl [mailto:sh at tokkee.org]
Sent: Mon 8/17/2009 5:54 PM
To: Domagoj Mikac
Cc: collectd at verplant.org
Subject: Re: [collectd] collect Snmp exclude
Hi Domagoj,
On Mon, Aug 17, 2009 at 05:43:44PM +0200, Domagoj Mikac wrote:
> The following Chain is supposed to filter out all Loopback interfaces
> while all others are forwarded to rrdtool plugin.
> Unfortunately, I am doing something wrong, and cannot figure out where
> is the problem.
> Please help.
>
> <Chain "Main">
> <Rule "ignore_Loopback">
> <Match "regex">
> Plugininstance "^snmp$"
^
I guess this should be "Plugin". The "snmp" plugin does not use the
plugin instance at all.
HTH,
Sebastian
--
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/
Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.verplant.org/pipermail/collectd/attachments/20090817/0b1ba0da/attachment.htm
More information about the collectd
mailing list