<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>RE: [collectd] collect Snmp exclude</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hi Sebastian,<BR>
<BR>
Thank you for your fast response, but even if I remove the line Plugininstance "^snmp$", filtering still doesn't work.<BR>
Each time I remove all rrds belonging to Loopback interfaces, and after I restart collectd it recreates them again.<BR>
<BR>
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.<BR>
Is it possible to filter out some interfaces directly in snmp plugin configuration section ?<BR>
<BR>
<Chain "Main"><BR>
<Rule "ignore_Loopback"><BR>
<Match "regex"><BR>
TypeInstance "Loopback"<BR>
</Match><BR>
Target "stop"<BR>
</Rule><BR>
<BR>
#################################################3<BR>
# default target<BR>
<Target "write"><BR>
Plugin "rrdtool"<BR>
</Target><BR>
</Chain><BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Sebastian Harl [<A HREF="mailto:sh@tokkee.org">mailto:sh@tokkee.org</A>]<BR>
Sent: Mon 8/17/2009 5:54 PM<BR>
To: Domagoj Mikac<BR>
Cc: collectd@verplant.org<BR>
Subject: Re: [collectd] collect Snmp exclude<BR>
<BR>
Hi Domagoj,<BR>
<BR>
On Mon, Aug 17, 2009 at 05:43:44PM +0200, Domagoj Mikac wrote:<BR>
> The following Chain is supposed to filter out all Loopback interfaces<BR>
> while all others are forwarded to rrdtool plugin.<BR>
> Unfortunately, I am doing something wrong, and cannot figure out where<BR>
> is the problem.<BR>
> Please help.<BR>
><BR>
> <Chain "Main"><BR>
> <Rule "ignore_Loopback"><BR>
> <Match "regex"><BR>
> Plugininstance "^snmp$"<BR>
^<BR>
<BR>
I guess this should be "Plugin". The "snmp" plugin does not use the<BR>
plugin instance at all.<BR>
<BR>
HTH,<BR>
Sebastian<BR>
<BR>
--<BR>
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ <A HREF="http://tokkee.org/">http://tokkee.org/</A><BR>
<BR>
Those who would give up Essential Liberty to purchase a little Temporary<BR>
Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin<BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>