On Thu, 2005-05-19 at 16:34, Saqib bin Sohail wrote:

> First of all I would like to know whats the difference
> between a MIB and OID

It's rather difficult to answer that question.
"MIB" is one of those nebulous terms, that can mean
one of several different (but vaguely related) things.

In general "a MIB" tends to refer to group of management
objects, all relating to the same general management task.
This is more strictly a "MIB module" (or "MIB file").

"The MIB" (of an agent or management tool) is the collection
of all MIB modules known to that particular application.

"The (global) MIB" is the collection of all possible MIB
modules, anywhere in the universe.   This last idea is not
used very often :-)


But note that all of these come down to the idea of "management
objects" - a particular bit of management information, such
as the name of a computer, or the count of network traffic
seen on an interface.

An OID is a way of identifying a particular management object,
as a sequence of numerical subidentifiers.


There's also a distinction between a "management object"
(sysName, or ifInOctets) which refers to the abstract idea,
and an *instance* of this object (sysName.0, ifInOctets.3)
which refers to a particular value for that object.
OIDs are used to identify both of these in exactly the
same way.

See any good SNMP book for more details.

Dave



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to