[collectd] Zeus Load balancer, ZXTM and SNMP in general
Steve Thompson
steve.thompson at shazamteam.com
Fri Jun 10 12:23:06 CEST 2011
Hi all,
I've been playing with collectd for about 2 weeks now and I think it's fantastic. It does everything I need.
Except play nicely with our load balancers. And I can't figure out why. As you'll see below I'm getting two errors that I can't fix. For the first, Google has helped me find other people encountering the same problem but if they've found a solution they've not posted it. For the second I can't find anything at all apart from a link to the actual code that displays the errors.
Problem 1:
If I
snmpwalk -v 1 -c public zeus1.dev 1.3.6.1.4...... (cut to save time!)
I get
1.3.6.1.4..... = Counter32: 23566987910
If I add
<Data "ZXTM_VSBI_BEO">
Type "Counter"
Table "False"
Instance "BEOnlySearch_BytesIn_eth0"
Values "1.3.6.1.4......"
</Data>
And add "ZXTM_VSBI_BEO" to the collect line for zeus1 (I should point out that other single-value queries like memory in use, number of active nodes etc all work fine) I get this in syslog
colectd[0823]: snmp plugin: I don't know the ASN type "64" (OID: ZXTM-MIB::NodeIPAddress.0.0.0.0.0)
OK, fine - but the OID supplied is for the packet count on an interface, not for a specific node so collectd shouldn't even be bothering with that!
Problem 2:
If I
snmptable -v 1 -c public zeus1.dev .1.3.6.1.4.1.7146.1.2.4.2
I get the node table from load balancer, including columns "nodeBytesToNodeLo" and "nodeTotalConnections" amongst others that I'd like to query.
AT THE MOMENT my config file says Type counter/table true/instanceprefix "nodeconn"/instance ".1.3.6.1..."/Values "nodeCurrentConn" but the reason I haven't written it out in full is because it's about the 100th variation. However, apart from some error messages which clearly say "Duh, you can't do that" because of some change I've made to the config, the only thing I can produce is the error message:
snmp plugin: oid "zxtm-mib::interfacetxbyteshi."eth2"" is undefined (type asn_null)
Again, that particular OID has nothing to do with the data returned in the table or the information I'm trying to collect AND I'm referring to the OID by its numerical reference not its name (although the ZXTM MIB is obv. installed).
I've tweaked practically everything. I've tried collectd from packages and installed from scratch. I really have run out of ideas (mainly because I'm new to collectd)
Can anyone give me some pointers?
Thanks
Steve
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20110610/6b9e728e/attachment.htm>
More information about the collectd
mailing list