[SNMP4J] SET request with SNMP4J console tool doesn't work !

wafae alami alami.ouafae at gmail.com
Tue Jul 21 17:17:05 CEST 2009


Hi everyone ,

please how sould I use the snmp4j console tool to set a  new value for an
attribute of a Table Mbean .

the OID of the table entry is : 1.3.6.1.4.1.637.71.6.161.1
the OID of the attribute is :  1.3.6.1.4.1.637.71.6.161.1.3

and the command i use is :

./SNMP4J-linux -c public -v 2c -p SET
udp:127.0.0.1/8001"1.3.6.1.4.1.637.71.6.161.1.3.1={i}2"

21 juil. 2009 15:00:40 org.snmp4j.log.JavaLogAdapter log
INFO: UDP receive buffer size for socket 135.183.166.201/0 is set to: 56320
Received response after 56 millis
Response received with requestID=954986960, errorIndex=1, errorStatus=Wrong
value(10)
1.3.6.1.4.1.637.71.6.161.1.3.1 = 2

but the value is not set.

please if someone have an idea about the issue .

thanks in advance .
Ouafae.



More information about the SNMP4J mailing list