http://qs321.pair.com?node_id=995863

joe_tseng has asked for the wisdom of the Perl Monks concerning the following question:

Is there some way to load a vendor's MIB file to some method/function/whatever so I could parse it for use with Net::SNMP? I was looking at the documentation and source code for Net::SNMP::Util::OID and I'm not entirely sure if that's the right tool to use. It has a bunch of pre-defined univeral MIB entries and values, and there's an import method, but I don't think it reads in values from an external text file.

I'm looking to do this with Net::SNMP because I like how it's a pure Perl implementation and can be made portable. Although Net-SNMP has external dependencies, I may revert to that because I know it at least supports what I'm looking to do.

I appreciate any and all useful clues.

- Joe

  • Comment on Loading/parsing MIB file for use with Net::SNMP

Replies are listed 'Best First'.
Re: Loading/parsing MIB file for use with Net::SNMP
by Anonymous Monk on Mar 04, 2014 at 17:55 UTC
    Joe, Did you figure out how to parse MIB files with NET::SNMP? John