Ethereal-users: Re: [Ethereal-users] SNMP and OID parsing for eneterprises branch

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

From: Lukasz Geleta <geleta@xxxxxxxxxx>
Date: Wed, 06 Mar 2002 09:31:25 +0100
Guy Harris wrote:
On Tue, Mar 05, 2002 at 04:03:56PM +0100, Lukasz Geleta wrote:

does ethereal translated OID to strings for enterprises branch of MIB tree?


Yes, but only if you're running a release that's linked with an SNMP
library.

[cut]

I installed RH binary from ftp.ethereal.com and seems to be linked with SNMP library, at least help message box testifies that "ethereal 0.9.2, compiled with GTK+ 1.2.10, with GLib 1.2.10, with libpcap 0.6, with libz 1.1.3, with UCD SNMP 4.2". SNMP OIDs are presented as follows:

Simple Network Management Protocol
    Version: 1
    Community: *******
    PDU type: GET
    Request Id: 0x7ad9f242
    Error Status: NO ERROR
    Error Index: 0
Object identifier 1: 1.3.6.1.4.1.277.1.3.5.0 (SNMPv2-SMI::enterprises.277.1.3.5.0)
    Value: NULL
Object identifier 2: 1.3.6.1.4.1.277.1.3.6.0 (SNMPv2-SMI::enterprises.277.1.3.6.0)
    Value: NULL
Object identifier 3: 1.3.6.1.4.1.277.1.3.8.0 (SNMPv2-SMI::enterprises.277.1.3.8.0)
    Value: NULL

SNMP seems to be configure since snmptranslate produces output according to my expectations.

$ snmptranslate -Onf .1.3.6.1.4.1.277.1.3.5.0
.iso.org.dod.internet.private.enterprises.cascade.cascfr.node.nodePollStatus.0
$ snmptranslate -Onf .1.3.6.1.4.1.277.1.3.6.0
.iso.org.dod.internet.private.enterprises.cascade.cascfr.node.nodeModel.0
$ snmptranslate -Onf .1.3.6.1.4.1.277.1.3.8.0
.iso.org.dod.internet.private.enterprises.cascade.cascfr.node.nodeSwRev.0

Have you got any suggestions what might I do wrong?

Regards

Lukasz