[prev in list] [next in list] [prev in thread] [next in thread] 

List:       collectd
Subject:    [collectd] snmp table
From:       Kimo Rosenbaum <kimor79 () yahoo ! com>
Date:       2010-09-13 17:58:20
Message-ID: 224584.81496.qm () web31802 ! mail ! mud ! yahoo ! com
[Download RAW message or body]

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

_______________________________________________
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic