Dave, Thank you so, so much. This was extremely helpful. I thought this, but have been getting conflicting information from other people.
Noah On 6/8/07, Dave Shield <[EMAIL PROTECTED]> wrote: > On 08/06/07, Noah Gift <[EMAIL PROTECTED]> wrote: > > From a client using Net-SNMP command line tools, does the client need > > to have the Enterprise MIB loaded/compiled into Net-SNMP "LOCALLY" to > > interpret data from an Enterprise MIB or any private MIB for that > > matter on the server side? > > No. > > > Obviously if you don't have the MIB loaded you cannot query via OID > > name, you have to use the OID number, > > That's the most obvious thing that you'll lose, of course. > > > but are there > > cases that when > > you query via OID number that you will get back hexidecimal or binary > > data instead of strings/integers,.i.e. the expected result? > > You will receive the exact same data, regardless of whether you > have the MIB available locally or not. > > The other thing that the local MIB provides is the ability to display > the results in a more meaningful manner. > > For example, if a particular MIB object is defined as an enumerated > integer, then the MIB file allows you to display the enumeration label > of the value received, rather than the numeric value itself. > > Similarly, if there's a DISPLAY-HINT associated with the MIB object, > then loading the MIB file allows the management tool to use this when > displaying the results. For example, a value of type PhysAddress or > MacAddress would be displayed as 00:11:22:33:44:55 instead of > 0x001122334455 > > Probably the most significant example of this would be TimeAndDate > objects. Without the MIB file, this would be regarded as a binary > string, and displayed accordingly. With the MIB file loaded, the > management tool could display this in a meaningful form. > > > But the value received will be the same in every case. > > > > > what happens why I do a > > snmpwalk of .iso on a machine that has custom/enterprise MIBs. Does > > snmpwalk ignore the Enterprise MIBs it cannot interpret, or does it > > give me everything including the binary data in a hexadecimal format. > > You'll get everything. > Some of the results might not be very meaningful, but you'll see them > regardless. > > > > Python Bindings release notes state, " Access to the parsed MIB > > database is not yet implemented." I am unsure of how to interpret > > this statements meaning. > > You'll see the raw results - and won't have access to helpfully formatted > values. > > 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
