[SNMP4J] BER and ASN.1
Frank Fock
fock at agentpp.com
Tue Aug 11 18:55:02 CEST 2009
Hi Michael,
SNMP4J already does the conversion from BER
to Java objects. Therefore I suspect you are looking
for a SMI (MIB specifications are written in SMI
not ASN.1) compiler/parser. JASMI available
from my site http://www.mibdesigner.com can
do that. There are other parsers too avaible.
In most cases, a compile time parser (i.e. code
generator like AgenPro) is the best choice and should
be preferred instead of runtime parsing. The latter
is only suitable for generic applications.
Best regards,
Frank
Michael Yap schrieb:
> Hey guys, started with SNMP4j not too long ago. Was writing a web app to
> capture and analyze snmp traps from the devices in my infrastructure.
> Everything's set up very nicely and we're able to capture the traps but
> we're getting to a point where we now need to understand the values of the
> OIDs in order to analyze the logs and make sense of them. Hence we need to
> deal with ASN.1 and BER. Didn't really find anything in SNMP4j to help out
> with that and was wondering if we've missed something. Conceptually we're
> looking for something that can parse BER strings into java objects so the
> application and process them accordingly.
>
>
>
> Thanks fellas.
>
>
>
> -Michael-
>
>
>
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
>
More information about the SNMP4J
mailing list