On Mon, 2005-07-04 at 16:44 +0100, Patrick Welche wrote:
> Am I missing something?

> % snmptranslate -Tp system 
> No log handling enabled - turning on stderr logging
> system: Unknown Object Identifier (Sub-id not found: (top) -> system)

> % snmptranslate -On -IR sysDescr
> .1.3.6.1.2.1.1.1

That's the important bit.
The '-IR' flag toggles "random lookup" of MIB object names.

With this enabled, you can give an arbitrary object name (such
as 'system') and the SNMP tools will look for it across all
loaded MIB modules.
With this disabled, you need to give an absolute name - either
fully qualified (.iso.org.....system) or specifying the
relevant MIB module (SNMPv2-MIB::system)


All the Net-SNMP tools work in this way.  The confusing thing
is that the default for 'snmptranslate' (random lookup off) is
different to everything else (random lookup on).


Dave



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to