Re: Huh?!

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2008/5/6 Mike Ayers <[email protected]>:
>  machine$ snmptranslate -Ts .1.3.6.1.4.1
>  SNMPv2-SMI::enterprises
>  machine$ snmptranslate -IR -Ts .1.3.6.1.4.1
>  Unknown object identifier: .1.3.6.1.4.1

>  The "-IR" flag is supposed to index MIBs, yes?

It's meant to turn on/off "random access lookup",
so you can specify a bare MIB object name,
rather than having to qualify it.


>  It should have had no effect here, yes?

It's only relevant when referring to MIB objects by name,
not by numeric OID.   It should have no effect here - yes.

I can reproduce this behaviour - it looks like a bug.


>  I started out trying to add the current directory to MIBDIRS so I could analyze a MIB file there

The simplest way to do that would probably be to use the MIBFILES
environmental variable,
to point to the individual file that you're interested in.  (Rather
than extending or replacing
the MIBDIRS search list)

But the behaviour described above definitely looks wrong.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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.