info of last var bind while commit
"Awadhesh Kumar" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dave, I am using NetSNMP 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? Thanks in Advance Awadhesh ------------------------------------------------------------------------- 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