Processing of multiple varbinds in a SNMP PDU

Mayank Maheshwari <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <OF414CE2A3.A23F2341-ON65257324.002F8E9B-65257324.00303C2C@hsc.com>
Hi,

I am using net-snmp as a EMS agent (mid level agent). I get SNMP request 
from the higher layer manager for some device configuration. I have to 
pass this configuration to device by performing SNMP SET on the agent 
running on the device.
At my MID level agent if I get multiple varbinds in a single PDU I have 
pass all these varbinds to device in a single PDU.
If I get varbinds say var1, var2,var3 in a single SNMP SET PDU, net-snmp 
will make following function calls in sequence -
RESERVE1 for var1
RESERVE1 for var2
RESERVE1 for var3
RESERVE2 for var1
RESERVE2 for var2
RESERVE2 for var2
ACTION for var1
ACTION for var2
ACTION for var3
COMMIT for var1
COMMIT for var2
COMMIT for var3

I want to create a SNMP SET PDU for device when the COMMIT is called for 
the last varbind of the SNMP PDU received at mid level agent.
Is there any way to find out if the COMMIT is being called for the last 
varbind in the PDU?


Regards
-Mayank Maheshwari




*****************************************************DISCLAIMER*****************************************************

This message and/or attachment(s) contained here are confidential, proprietary to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, 
please notify the sender immediately and delete the message.

********************************************************************************************************************

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.