2008/5/30 杨伟 <[EMAIL PROTECTED]>:
> I am just reading the "snmp_parse_oid" function. But I am not sure where it
> get these oid? Net SNMP store the MIB tree?

The Net-SNMP library will load a defined list of MIB files.
The 'snmp_parse_oid' takes the specified name,
locates it within the loaded collection of MIB files,
and returns the equivalent numeric OID.


> If I want to parse a private node, it works? or I have to register it before
> using?

See the FAQ entry
    How do I add a MIB to the tools?
        http://www.net-snmp.org/wiki/index.php/FAQ:Applications_02

Dave
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to