[SNMP4J] Snmp - set few varbinds together

Frank Fock fock at agentpp.com
Tue Aug 31 00:25:34 CEST 2004


Hi Liav,

The SNMP SET operation is atomic, which means a correct implemented
SNMP agent will either set all of the VBs in a PDU or none of them.
In either case, the agent must return the value you send to the agent in
your SET PDU at the same position in the response PDU. The error
status and the error index fields report the error (errorStatus != 0)
if the SET operation failed.

Best regards,
Frank

Liav Elias wrote:

>Hi all,
>
>I am trying to do snmp set command to several OIDs at once.
>when I am using read/write OIDs there is no problem, the minute there is one
>OID which is 
>only read OID all the other OIDs return as null as well.
>my question: is this normal? does snmp fails all the set command because
>there is one not valid OID?
>can I get an exception when this happens?
>
>thanks,
>Liav 
>_______________________________________________
>SNMP4J mailing list
>SNMP4J at agentpp.org
>http://p15141779.pureserver.info/mailman/listinfo/snmp4j
>
>  
>





More information about the SNMP4J mailing list