[collectd] snmp plugin: I don't know the ASN type "130"

Mohamed Lrhazi lrhazi at gmail.com
Wed Apr 4 21:44:25 CEST 2012


I am trying to figure out how to gather stats from an F5 device using
snmp plugin...

If I try the basic example:

<Data "std_traffic">
    Type "if_octets"
    Table true
    Instance "IF-MIB::ifDescr"
    Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
  </Data>
<Host "ext-bip6400-1-mgmt">
    Address "10.212.5.41"
    Version 2
    Community "public"
    Collect "std_traffic"
    Interval 10
  </Host>


It works fine...

When I try this table:

<Data "vs_stats">
    Type "f5_vs_stats"
    Table true
    Instance ".1.3.6.1.4.1.3375.2.2.10.2.3.1.1"
    Values ".1.3.6.1.4.1.3375.2.2.10.2.3.1.6" ".1.3.6.1.4.1.3375.2.2.10.2.3.1.8"
  </Data>

Which type defined in /usr/share/collectd/types.db:

f5_vs_stats             pin:COUNTER:0:18446744073709551615,
pout:COUNTER:0:18446744073709551615


I get constant errors like:

Apr  4 15:33:48 tophat collectd[30581]: [daemon.warn] snmp plugin: I
don't know the ASN type "130" (OID:
SNMP-VIEW-BASED-ACM-MIB::vacmViewTreeFamilyStatus."viewComm10".1.1)

An snmpwalk on those counters seems to work OK:


ml623 at tophat:~/ > snmpwalk -Os -c "public" -v 2c 10.212.5.41
.1.3.6.1.4.1.3375.2.2.10.2.3.1.6 | head
enterprises.3375.2.2.10.2.3.1.6.18.47.67.111.109.109.111.110.47.116.101.115.116.95.48.49.95.118.115
= Counter64: 0
enterprises.3375.2.2.10.2.3.1.6.19.47.67.111.109.109.111.110.47.118.100.105.95.52.49.55.50.95.118.115
= Counter64: 0
enterprises.3375.2.2.10.2.3.1.6.20.47.67.111.109.109.111.110.47.99.108.111.117.100.112.97.116.104.95.118.115
= Counter64: 0
enterprises.3375.2.2.10.2.3.1.6.20.47.67.111.109.109.111.110.47.103.100.111.99.95.104.116.116.112.95.118.115
= Counter64: 1057
enterprises.3375.2.2.10.2.3.1.6.20.47.67.111.109.109.111.110.47.113.97.45.115.115.98.95.56.48.95.118.115
= Counter64: 0
enterprises.3375.2.2.10.2.3.1.6.20.47.67.111.109.109.111.110.47.119.101.98.48.49.45.112.117.98.95.118.115
= Counter64: 0
enterprises.3375.2.2.10.2.3.1.6.20.47.67.111.109.109.111.110.47.119.101.98.48.50.45.112.117.98.95.118.115
= Counter64: 0
enterprises.3375.2.2.10.2.3.1.6.20.47.67.111.109.109.111.110.47.119.101.98.48.51.45.112.117.98.95.118.115
= Counter64: 0
enterprises.3375.2.2.10.2.3.1.6.21.47.67.111.109.109.111.110.47.103.100.111.99.95.104.116.116.112.115.95.118.115
= Counter64: 58436
enterprises.3375.2.2.10.2.3.1.6.21.47.67.111.109.109.111.110.47.113.97.45.115.115.98.95.52.52.51.95.118.115
= Counter64: 80


ml623 at tophat:~/ > snmpwalk -Os -c "public" -v 2c 10.212.5.41
.1.3.6.1.4.1.3375.2.2.10.2.3.1.1 | head
enterprises.3375.2.2.10.2.3.1.1.18.47.67.111.109.109.111.110.47.116.101.115.116.95.48.49.95.118.115
= STRING: "/Common/test_01_vs"
enterprises.3375.2.2.10.2.3.1.1.19.47.67.111.109.109.111.110.47.118.100.105.95.52.49.55.50.95.118.115
= STRING: "/Common/vdi_4172_vs"
enterprises.3375.2.2.10.2.3.1.1.20.47.67.111.109.109.111.110.47.99.108.111.117.100.112.97.116.104.95.118.115
= STRING: "/Common/cloudpath_vs"
enterprises.3375.2.2.10.2.3.1.1.20.47.67.111.109.109.111.110.47.103.100.111.99.95.104.116.116.112.95.118.115
= STRING: "/Common/gdoc_http_vs"
enterprises.3375.2.2.10.2.3.1.1.20.47.67.111.109.109.111.110.47.113.97.45.115.115.98.95.56.48.95.118.115
= STRING: "/Common/qa-ssb_80_vs"
enterprises.3375.2.2.10.2.3.1.1.20.47.67.111.109.109.111.110.47.119.101.98.48.49.45.112.117.98.95.118.115
= STRING: "/Common/web01-pub_vs"
enterprises.3375.2.2.10.2.3.1.1.20.47.67.111.109.109.111.110.47.119.101.98.48.50.45.112.117.98.95.118.115
= STRING: "/Common/web02-pub_vs"
enterprises.3375.2.2.10.2.3.1.1.20.47.67.111.109.109.111.110.47.119.101.98.48.51.45.112.117.98.95.118.115
= STRING: "/Common/web03-pub_vs"
enterprises.3375.2.2.10.2.3.1.1.21.47.67.111.109.109.111.110.47.103.100.111.99.95.104.116.116.112.115.95.118.115
= STRING: "/Common/gdoc_https_vs"
enterprises.3375.2.2.10.2.3.1.1.21.47.67.111.109.109.111.110.47.113.97.45.115.115.98.95.52.52.51.95.118.115
= STRING: "/Common/qa-ssb_443_vs"


Any idea what might be wrong?

Thanks a lot,
Mohamed.



More information about the collectd mailing list