>>>>> On Thu, 27 Jan 2005 22:13:29 -0500, Max Baker <[EMAIL PROTECTED]> said:
Max> Any idea how I can tell Net-SNMP to override RFC1213-MIB with IF-MIB, or
Max> have some other sort of precedence of MIBs? Especially in Perl?
You shouldn't force this in general. You should actually never load
RFC1213-MIB by hand as it's all included in various other mibs and is
obsolete in the first place...
Max> PS. Should I be posting on the -users list or this one for this sort of
Max> thread?
-users technically, but its on the border line so we won't yell ;-)
Max> # Changing this order makes no difference.
Max> &SNMP::loadModules("IF-MIB");
Max> &SNMP::loadModules("RFC1213-MIB");
Don't do the second one at all.
Better yet you probably don't need to do either. For net-snmp 5.2
just call SNMP::init_snmp("yourappname") instead of both of those
lines. It should do what you want.
--
Wes Hardaker
Sparta
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders