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 encoded Trap data
 

The code [...]

Continue Reading