Ethereal-users: RE: [Ethereal-users] Ethereal does not show names for ENTERPRISE traps.

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "HOOD, Andy" <ahood@xxxxxxxxxxxxxx>
Date: Wed, 4 Sep 2002 09:25:05 +1000
Use the source, Lukasz

Sorry. Couldn't resist.

Try the attached quick and somewhat dirty patch. Dirty because I didn't
clone format_oid to only do the sprint_realloc_objid bit.

Regards,
Andrew Hood
A distributed system is one in which the failure of a computer you
didn't even know existed can render your own computer unusable. --
Leslie Lamport, as quoted in CACM, June 1992




> -----Original Message-----
> From: Lukasz Geleta [mailto:geleta@xxxxxxxxxx]
> Sent: Wednesday, 4 September 2002 01:10
> To: ethereal-users@xxxxxxxxxxxx
> Subject: [Ethereal-users] Ethereal does not show names for ENTERPRISE
> traps.
> 
> 
> Hi,
> do you know if there is anything that can be done to make 
> ethereal show 
> names of enterprise traps instead of numbers?
> Other variables are shown correctly:
> 
> Frame 1 (229 on wire, 229 captured)
> Ethernet II
> Internet Protocol, Src Addr: AA11000A (...), Dst Addr: 
> faultserver (...)
> User Datagram Protocol, Src Port: 1024 (1024), Dst Port: 
> snmptrap (162)
> Simple Network Management Protocol
>     Version: 1
>     Community: xxxxxxxxx
>     PDU type: TRAP-V1
>     Enterprise: 1.3.6.1.4.1.1751.2.18.8.2 (ACMIB::moduleEvents)
>     Agent address: 172.16.11.11
>     Trap type: ENTERPRISE SPECIFIC
>     Specific trap type: 7 (0x7)
>     Timestamp: 184004830
>     Object identifier 1: 1.3.6.1.4.1.1751.2.18.15.24.0 
> (ACMIB::oc3APSPairPortIndex.0)
>     Value: 101
> [....]
> 
> snmptranslate works fine for trap name:
> $snmptranslate -Onf .1.3.6.1.4.1.1751.2.18.8.2.0.7
>                      ^^^^^^^^^^^^^^^^^^^^^^^^^        - Enterprise
>                                                ^    - additional 0
>                                                  ^  - trap 
> number (oid)
>            
> .iso.org.dod.internet.private.enterprises.lucent.mibs.acMIB.sy
> sTraps.moduleEvents.moduleEvents#.oc3APSStateChangeNotify
> 
> 
> Is there anything that I can change in configuration or 
> should someone 
> make a change in code?

<<application/ms-tnef>>