Deepak Sachan <sacha...@gmail.com> writes: > But when i run one snmpset for all oids e.g > snmpset oid1 value1 oid2 value2 oid3 value3 oid4 value4 > i received repeated (4 to 5 times)set request for each oid.
The snmp implementation and agentx protocols work by sending multiple SET "phases" to ensure that the entire transaction can be successfully handled or all reverted if not. Thus there are two reservation steps indicated by the action being performed at the time (RESERVE1 and RESERVE2) that are passed to your code to ensure you can actually do something. You should read this page that describes some of the states and how processing is done: http://www.net-snmp.org/wiki/index.php/Agent_Modes -- Wes Hardaker Please mail all replies to net-snmp-cod...@lists.sourceforge.net _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users