On 03/08/06, Amit Gupta <[EMAIL PROTECTED]> wrote: > Now the problem is that my handler function are independent and NetSNMP > toolkit itself call this one by one and i process > each of the varbind as if they are coming in multiple PDU from manager only.
The Net-SNMP agent processes one SET request at a time, and finished one SET request before starting the next. Each such request will result in several passes (RESERVE1, RESERVE2, etc). If two modules need to co-operate in the processing of such a request, they can use the knowledge about which pass they're in, to ensure that the overall request is consistent, and act "as if simultaneously". > Is there any way I can perform PDU level processing while setting scalar > and tabular parameters both? Perform the validation of individual values in the RESERVE1 pass, make a provisional (internal) assignment of the new value in the RESERVE2 pass, check that these new values are consistent in the ACTION pass, and activate them in the COMMIT pass. That's not the only way to handle this, but it's probably the simplest - particularly if you're needing to have consistency checks across more than one table (or a table and scalars). > Also pls let me know for GET PDU also. GET requests don't have the same multi-pass processing, but they shouldn't need it. The value for a particular instance should be independent of whatever other values are requested at the same time. Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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
