On Mon, 30 Aug 2004 02:03:33 -0400 Robert wrote: RS> VSC> Essentially my requirement is that whenever a get, get-next or RS> VSC> get-bulk request is received at my sub-agent, I want to make a RS> VSC> propietary call to my NE to obtain the value for the oid(s). RS> VSC> How can I use any skeleton code (with help from any .conf file) for RS> VSC> this purpose? I explored using mib2c.iterate-access.conf and RS> VSC> mib2c.array-user.conf but did not get convincing results.
I got another idea today... use the mib2c.array-user.conf template, but inject a custom handler right above it that finds the row/value for all the requests and inserts them into the container. Then call the generated handler, which will find the rows in the container and return the values. After the request finishes, empty the container so it will be ready for the next request. Again, there are no examples, and you might need to jump through some hoops for set support, but it's another idea for a starting point... -- Robert Story; NET-SNMP Junkie <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 BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ 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