I need to get and set a few values by SNMP v2. I'm looking for simple example of code which using SNMP4J (or any another library) to get and set values by OIDs.
I have written a simple application using snmp4j.jar and java. I have mentioned how to test this application by enabling snmp agent running on your windows machine as well.
A simple application is given here
There are many over the internet:
Previous Question on SO
http://blog.jayway.com/2010/05/21/introduction-to-snmp4j/
This should get you started.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With