Reputation: 10288
What is the quickest simplest way to send a trap from a Java application?
Thanks in Advance!
Upvotes: 4
Views: 2184
Reputation: 10293
I use SNMP4J for this.
This javadoc might help you write your code. You can use the Snmp.trap() method
Upvotes: 3