Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Loading/parsing MIB file for use with Net::SNMP

by joe_tseng (Novice)
on Sep 26, 2012 at 19:58 UTC ( #995863=perlquestion: print w/ replies, xml ) Need Help??
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
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://995863]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2015-07-04 19:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls