28 October 2008 ~ 1 Comment

Implementing Trap Sender using SNMP4J

In this post, we shall implement a Trap Sender using SNMP4J. We may choose to use Apache MINA for sending Traps or can resort to using DatagramSocket class directly. This shall be the logical flow of the implementation Get the encoded Trap Data Send the Trap  Lets look at the first component, on getting the [...]

Continue Reading

11 October 2008 ~ 0 Comments

Implementing SNMP4J Decoder for Apache MINA

Recently started evaluating Apache MINA. So thought about building a Trap Receiver using Apache MINA. Refer to one of my posting on What is Apache MINA? Design In this post we shall concentrate on just writing the ProtocolDecoder The code snippet using SNMP4J library is public class SNMP4JCodec extends ProtocolDecoderAdapter { static Logger logger = LoggerFactory.getLogger(SNMP4JCodec.class); [...]

Continue Reading