Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SNMP4J getting and setting values

Tags:

java

snmp

snmp4j

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.

like image 453
Vladimir Avatar asked Aug 24 '26 13:08

Vladimir


2 Answers

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

like image 160
J Mathew Avatar answered Aug 27 '26 05:08

J Mathew


There are many over the internet:

  1. Previous Question on SO

  2. http://blog.jayway.com/2010/05/21/introduction-to-snmp4j/

This should get you started.

like image 28
mprabhat Avatar answered Aug 27 '26 05:08

mprabhat