[collectd] Need help for filter

AUVINET Andre Andre.AUVINET at nantesmetropole.fr
Wed Jan 2 14:29:22 CET 2013


Hi,
Escuse me for my bad english...

I need help for use filter in collectd.conf.

I want filter the answer SNMP.

Sample :

LoadPlugin snmp

<Plugin snmp>
  <Data "ifmib_if_octets32">
    Type "if_octets"
    Table true
    Instance "IF-MIB::ifDescr"
    Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
 </Data>
  <Data "ifmib_if_packets32">
    Type "if_packets"
    Table true
    Instance "IF-MIB::ifDescr"
    Values "IF-MIB::ifInUcastPkts" "IF-MIB::ifOutUcastPkts"
 </Data>
  <Data "ifmib_if_errors32">
    Type "if_errors"
    Table true
    Instance "IF-MIB::ifDescr"
    Values "IF-MIB::ifInErrors" "IF-MIB::ifOutErrors"
 </Data>



# **************************
# Nexus 5000
# **************************

  <Host "Nexus_5548_1">
    Address "172.20.0.30"
    Version 2
    Community "public"
    Collect "ifmib_if_octets32" "ifmib_if_errors32"
    Interval 120
  </Host>
  <Host "Nexus_5548_2">
    Address "172.20.0.31"
    Version 2
    Community "public"
    Collect "ifmib_if_octets32" "ifmib_if_errors32"
    Interval 120
  </Host>

</Plugin>


But I want filter interface ten 0/1 for graph.
Is it possible to filter  interfaces via  filter configuration ?
https://collectd.org/documentation/manpages/collectd.conf.5.shtml#filter_configuration

Cdlt.



André


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20130102/80ae0354/attachment.html>


More information about the collectd mailing list