[collectd] snmp table

Kimo Rosenbaum kimor79 at yahoo.com
Mon Sep 13 19:58:20 CEST 2010


Hello,

I'm trying to use the snmp plugin to query some of our load balancers (a10 AX 
series) for various stats. The snmp output is not a simple table like ifDescr, 
instead it is like:

axVirtualServerStatAddress:
A10-AX-MIB::axVirtualServerStatAddress."192.168.162.67" = STRING: 192.168.162.67
A10-AX-MIB::axVirtualServerStatAddress."192.168.162.92" = STRING: 192.168.162.92
A10-AX-MIB::axVirtualServerStatAddress."192.168.162.93" = STRING: 192.168.162.93

And one of the counters I'm interested in:

axVirtualServerStatTotConns:
A10-AX-MIB::axVirtualServerStatTotConns."192.168.162.67" = Counter64: 1105
A10-AX-MIB::axVirtualServerStatTotConns."192.168.162.92" = Counter64: 1156
A10-AX-MIB::axVirtualServerStatTotConns."192.168.162.93" = Counter64: 1187

This is the config:

<Data "a10_vs_conns">
  Type "connections"
  Table true
  Instance "axVirtualServerStatAddress"
  Values "axVirtualServerStatTotConns"
</Data>

And in the log I get:

snmp plugin: read_objid (axVirtualServerStatAddress) failed.

When I use the numeric oid (Instance "1.3.6.1.4.1.22610.2.4.3.4.2.1.1.1") I get:

Sep 13 10:35:03 collectd[45818]: snmp plugin: I don't know the ASN type `130'
Sep 13 10:35:34 last message repeated 3739 times

I have tried with the a10 mibs and without. When I run snmpgetnext myself I get:

axVirtualServerStatAddress:
A10-AX-MIB::axVirtualServerStatAddress."192.168.162.67" = STRING: 192.168.162.67

axVirtualServerStatAddress."192.168.162.67":
A10-AX-MIB::axVirtualServerStatName."192.168.162.67" = STRING: vip-1

So instead of getting the next suboid in axVirtualServerStatAddress, I get the 
next oid.

Any ideas?

Thanks
Kimo



More information about the collectd mailing list