Interpreting trap data sent to a handler

"Joseph L. Casale" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <assp.0074e2c266.a6ba96a179a14eb8a372e554b492a9d3@exch.activenetwerx.com>
I am working on a handler and a little unclear on how to extend it.

Looking at rfc2089 section 3.3 to understand the v1 trap fields passed to a handler, the
case I am needing to account for now are generic type 6 traps and the associated specific
id. The packet nicely breaks out the generic and specific id's so I ran some tests from Linux
and Windows hosts and wasn't too sure how to interpret the data.

According to part B, after generating a coldStart, snmpTrapOID.0 is set to SNMPv2-MIB::coldStart
and snmpTrapEnterprise.0 should be set to zero, I see NET-SNMP-MIB::netSnmpAgentOIDs.10.

When generating an enterprise specific trap such as the case with:
` snmptrap -v 1 -c public localhost "" "" 6 23 ""` I see the expected snmpTrapOID.0 value of
SNMPv2-SMI::enterprises.3.1.1.0.23 yet snmpTrapEnterprise.0 is set to SNMPv2-SMI::enterprises.3.1.1.

Can anyone shed light on the logic here so I can key off of enterprise specific traps? Am I correct in
assuming that I can focus solely on the snmpTrapOID.0 and if it does not map to a standard trap
its enterprise specific and the specific id is simply the last id?

Thanks,
jlc

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.