[SNMP4J] snmp4j sample code too complicated

George Liu george.liu at ricoh-tech.com
Sat Aug 11 03:01:19 CEST 2007


What I want to do is simple:
 
A synchronized call to mimic the functionality of 
"> snmpget -v1 -c public 123.45.6.7 system.sysDescr.0"
 
I found the sample code in
http://www.snmp4j.org/doc/org/snmp4j/Snmp.html too complicated. 
 
What exactly is the code needed for the above mentioned query? (I
suppose it should be less than 10 lines of code?)
 
Thanks
George
 

 




More information about the SNMP4J mailing list