On Jan 3, 2013, at 10:15 AM, AUVINET Andre <[email protected]> wrote:
> Yes, I want "stop" target for interfaces I did not need. > > > Something like : > > LoadPlugin "SNMP" > <Chain "PreCache"> > <Rule "Ignore_interfaces"> > <Match "regex"> > Plugin "^snmp$" > Type "if_octets" >>>> I don't know > TypeInstance "" >>>> I don't know > </Match> > <Target "stop"> > </Target> > </Rule> > Target "write" > /Target > </Chain> Type is probably going to be your IF-MIB::ifOctets.526846912 Do you know how to find the interface index? $ snmpwalk -v2c -c foo_comm_string foo_host IF-MIB::ifName IF-MIB::ifName.526846656 = STRING: Ethernet104/1/44 IF-MIB::ifName.526846720 = STRING: Ethernet104/1/45 IF-MIB::ifName.526846784 = STRING: Ethernet104/1/46 IF-MIB::ifName.526846848 = STRING: Ethernet104/1/47 IF-MIB::ifName.526846912 = STRING: Ethernet104/1/48 (…) I imagine you are going to need that. Its probably going to be dropped in to TypeInstance value whole like this TypeInstance "IF-MIB::ifName.526846912" again, just a guess - this is kinda new to me. I'm adding this back to the mailing list in case anyone else is more familiar. Bill _______________________________________________ collectd mailing list [email protected] http://mailman.verplant.org/listinfo/collectd
