[SNMP4J] v2c agent returns wrong error
Frank Fock
fock at agentpp.com
Thu May 24 01:58:32 CEST 2007
Hi Nidhin,
You can replace all occurrences of PDU.badValue by PDU.wrongValue
in the SNMP4J-Agent sources to fix this bug.
Best regards,
Frank
nidhin wrote:
> Hi,
>
> SNMPv2C agent is returning a bad value other than wrong value if we try to set invalid value to a RW integer variable.
>
> Example from TestAgent:
>
> ***** SNMP SET-RESPONSE START *****
> Error: Bad value
> Error index: 1
> 1: snmpTargetAddrRowStatus.110.111.116.105.102.105.99.97.116.105.111.110 (integer) 11
> ***** SNMP SET-RESPONSE END *****
>
>
> Regards
> Nidhin
>
>
> ---------------------------------
> It's here! Your new message!
> Get new email alerts with the free Yahoo! Toolbar.
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the SNMP4J
mailing list