[SNMP4J] snmp set value null

菊池俊一 kikuchi-shunichi at keyware.co.jp
Thu Dec 1 02:55:23 CET 2011


Hi DJ,

Javadoc says addOID(VariableBinding vb) should be used for GET. 
For SET, you can use add(VariableBinding vb).

The method addOID(VariableBinding vb) add a OID to PDU, 
but it's variable is always NULL.

Best regards
Shun


> Hi Frank,
> 
> Thx for ur reply.
> I searched the FAQ, still couldn't find the solution.
> I also read through SnmpRequest.java, yet cannot figure out the trick.
> Can you point out what I did wrongly or missed anything?
> 
> Best Regards
> DJ
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j




More information about the SNMP4J mailing list