[Zenoss-dev] Partial OID decoding / Complex SNMP Traps
elmerfud
jclark at lightedge.com
Sun Jan 20 22:08:52 EST 2008
I have several pieces of networking equipment that produce what I've come to call, complex traps.
For example, a snmp_linkDown from a Copper Mountain CE200 contains additional information in the details section of
Code:
Field Value
1.3.6.1.4.1.1996.20.15.1.1.1.68.97.118.101.32.72.97.110.115.101.110.113040000 Don Hensen
1.3.6.1.4.1.1996.20.15.1.1.2.68.97.118.101.32.72.97.110.115.101.110.113040000 113040000
1.3.6.1.4.1.1996.20.15.2.1.1.81.67.79.110.108.105.110.101 NetOnline
Now, these OID's are kind of wacky in that they contain a bunch of additional information appended on to the end of the OID the mib recognizes.
The first line with a value of Don Henson the OID breaks down as such.
1.3.6.1.4.1.1996.20.15.1.1.1 = cmNameIfName
68.97.118.101.32.72.97.110.115.101.110.113040000 = additional info defining such things as chassis, slot, card, port, and so on.
Is it possible to run a transform on just the field? Every example I've seen shows selecting a field to query its value. I need the capability to query the names of the fields inside the trap, so I can use arbitrary bits of them in my event handling. Is there a way to do this?
Also, it would be nice to have zentrap decode as much of the OID as possible, but I can see how this might cause some confusing behavior. Perhaps only inside of the enterprises section.
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=15573#15573
-------------------- m2f --------------------
More information about the zenoss-dev
mailing list