I added the following line to the "snmp.conf" file:

    mibs  +OC-STB-HOST-MIB

When I issue a "snmpwalk" command in a Root Shell Linux window the results are 
displayed with descriptive field names (instead of OIDs only).  I guess the 
snmp "client" here is the "snmpwalk" code which knows to look for a MIB text 
file before displaying the results to first determine how the output should be 
presented.  Is this how it works?



Dave Shield <[EMAIL PROTECTED]> wrote: On 14/06/07, Need Help  wrote:
> I thought a MIB text file was not "required" at all (other than to generate
> code),

Correct.

> however, if you wanted an agent to display the results of a SNMP request

The agent doesn't display results.
The *client* displays results (and so needs the MIB file).

The agent provides the information is the standard SNMP format
(i.e. numeric OIDs, etc).   It does not need the MIB file.



> Knowing that my MIB is going to be controlled by a subagent, I wanted to be
> sure that performing SNMP requests would result in better looking displays.

Irrelevant.
As far as the client is concerned, it's effectively talking to a single agent.
Whether this is actually a collection of AgentX subagents, dynamically
loaded modules, proxied agents, or a mixture of the lot - none of that
matters.   Things look the same regardless.

If the client has the relevant MIB file(s) loaded, it can display MIB object
names.  If it doesn't, then it has to show numeric OIDs.
   That's true wherever the information comes from - subagent or not.


Dave


       
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.
-------------------------------------------------------------------------
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-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to