Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2020-11-30 03:00 GMT
Find Nodes?
    Voting Booth?

    No recent polls found