SNMP4J getting and setting values

12,457

Solution 1

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.

Solution 2

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

Share:
12,457
Vladimir Petrosyan
Author by

Vladimir Petrosyan

Updated on July 27, 2022

Comments

  • Vladimir Petrosyan
    Vladimir Petrosyan almost 2 years

    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.

  • Vladimir Petrosyan
    Vladimir Petrosyan over 12 years
    Thank you for useful links. I guess I'm ready to use SNMP now.
  • mprabhat
    mprabhat over 12 years
    Glad to know that, kindly accept answer as correct is you feel so :)