[AGENT++] Load/Parse MIB

Frank Fock fock at agentpp.com
Fri Jan 2 01:00:52 CET 2009


Miroslav,

Miroslav Beranič ml. wrote:
> Greetings,
> 
> how do I load ASN.1 data from MIB into agent?

Why ASN.1? MIBs are written in SMI!

> Is there an example in Agent++ or some other docs, or some class I
> could look at?

No.

> 
> I would like to load MIB file into my agent.

Why? In an agent (production) it makes no sense
to have runtime MIB information.

At compile time, you may use AgenPro to use
MIB specification for code generation.

> 
> And: Is it possible to validate MIB file -- or is there some other
> library that does this?

You can validate MIB files online at:
http://www.agentpp.com/mibtools/mibtools.html

Best regards,
Frank

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the AGENTPP mailing list