[SNMP4J] SET request with SNMP4J console tool doesn't work !
Frank Fock
fock at agentpp.com
Tue Jul 21 18:44:20 CEST 2009
Hi,
The value is not set, because there was an error!
The error status is wrongValue(10). So you will
have to specify a valid value to get this working.
Best regards,
Frank
wafae alami wrote:
> 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
> <http://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
> <http://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.
--
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the SNMP4J
mailing list