Hi Robert: Thanks for the info. I had misled you the question. I didn't mean the command "set" - opposite to command "get". I meant my agent get the table value from another process (said SRC). The process supplied me one "set" of value for that table at one time. Now the number of application (and results) increased so there are many different "set" of values for that table are generated (said x "set" values for that table) and my agent need to response to the query (of snmpwalk) to show all the x "set" values for that same table. There is no involvement for the command set in my agent. My agent doesn't need to do the set to that table. Sorry I didn't make my question clear.
Regards, Jim -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Robert Story (Users) Sent: Thursday, November 18, 2004 12:42 AM To: Jim Su Cc: Net-Snmp-Users Subject: Re: multiple set of table handling On Wed, 17 Nov 2004 09:19:07 +0800 Jim wrote: JS> I have implemented net-snmp agent on 5.0.6 with UCD api. JS> The agent has the handling to get the content of a table from another JS> process. [...] I would like to know in the JS> var_abcTable() routine how do I handle the multiple set of table. If there are multiple object set for var_abcTable, you will get multiple calls to the function (one per variable). You will have to look at the incoming varbind OID to determine which row is being modified. JS> Is there a example code can be referenced? There are may examples in the mibgroup directory. Try a grep for the string "write_method =" to find modules that have old api write support. -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ 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