Re: Enterprise subtree problem...

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 05/06/07, [email protected] <[email protected]> wrote:
> If I can see the subtree using snmptranslate, but not snmpwalk,

cnelson is quite correct.   "snmptranslate" has no connection to
what information you can/can't retrieve from a given agent.

Remember that the SNMP protocol basically works with numeric OIDs.
The names ('system', 'hrSystemUptime', etc) are purely for the convenience
of the network administrator - to save having to remember strings of numbers.

snmptranslate processes (local) MIB files, to convert between names and
numeric OIDs.   The fact that you can turn a name into an OID (or vice
versa), doesn't automatically mean that a given agent actually supports
that particular object.
    I've got a Latin-English dictionary on my bookshelf - that doesn't mean
you can speak Latin!


The opposite is also true.
Even if you don't have a particular MIB file on your system, that has no
affect on which agents might implement that MIB.   It's perfectly possible
to retrieve information from an agent, without the corresponding MIB.
All this means is that the results will be displayed using numeric OIDs,
rather than vaguely meaningful names.

You might be fluent in Lithuanian, and I could hear you quite clearly.
If I don't have a Lithuanian-English dictionary, this would be a stream
of gibberish, but still I'd be able to ask you questions.
   I might not *understand* the answers, but I'd receive them OK.


> But can't snmpwalk talk to any agent, local or remote, depending on the
> machine name you give it?

Correct

> So are you saying my MIB could be after a section of the tree that's not
> implemented (ie. the enterprises subtree)?

A section that's either not implemented, or not accessible - yes.

What *can* you see on this system?
Can you walk the system group?
Can you walk the interface group?
Can you see *anything* under 'enterprises'?

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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.