RE: Problems with snmptranslate

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
ok, on line 1 I changed the PPEVENTS-MIB to PP-EVENTS-MIB, issued the
same command, and still get the same results.
Does there have to be a MODULE-IDENTITY statement in the MIB perhaps for
snmptranslate to find it? The smithy tool used to create this MIB in
SNMPv2 format didn't include such a statement, I wonder if that's the
problem?

BTW, when I issue the same command on other MIBS found in
$HOME/.snmp/mibs, such as the following:

snmptranslate TUNNEL-MIB::tunnelMIBObjects 

it works.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Tuesday, October 23, 2007 11:29 AM
To: Smith, Randy
Cc: net-snmp-users
Subject: Re: Problems with snmptranslate

    [ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]

On 23/10/2007, [email protected] <[email protected]> wrote:
> You're right, it was an snmptranslate command in another path.
> Nevertheless, even with net-snmp's 'snmptranslate'
> (net-snmp-5.4.1/apps), with my MIB located in $HOME/.snmp/mibs, when I
> issue:
>
> PP-EVENTS-MIB::emc
>
> I get the following error:
>
> vobs lca1099 > pwd
> /emc/smithr15/net-snmp-5.4.1/apps
> vobs lca1099 > snmptranslate PP-EVENTS-MIB::emc
> No log handling enabled - turning on stderr logging
> Cannot find module (PP-EVENTS-MIB): At line 0 in (none)
> PP-EVENTS-MIB::emc: Unknown Object Identifier

That's because the MIB is called "PPEVENTS-MIB",
not "PP-EVENTS-MIB".

You know that the two are meant to refer to the same thing.
_I_ know that the two are meant to refer to the same thing.
But computers are thick, and assume that they're completely different!

Dave


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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.