Hi Dave, Thanks for your help. I got it. One more question, does 5.1.1 also support "mib2c -Scache=1 -c mib2c.iterate.conf ...."? Even I plan to update my agent in the near future.
Thanks, 永鈦鑫 iTAS Corporation 新竹市水源街75號 NO. 75,Shuiyuan St., Hsinchu City, Taiwan, R.O.C. Tel:03-5716099 Ext.1208 E-mail:tewen.hs...@itas.com.tw ----- Original Message ----- From: "Dave Shield" <d.t.shi...@liverpool.ac.uk> To: "Tewen Hsieh" <tewen.hs...@itas.com.tw> Cc: <net-snmp-coders@lists.sourceforge.net> Sent: Tuesday, June 09, 2009 3:08 PM Subject: Re: Could anyone give me some suggestions? > 2009/6/9 Tewen Hsieh <tewen.hs...@itas.com.tw>: >> My key question is how to *not* get *all* external data one time. > > You don't need to get all the external data - just the index information. > That's all that the iterate hook routines actually require. > > If you can retrieve information about what rows are valid, > then that's sufficient to determine which row is required for > any given request. Retrieving the data for that particular > row (only) can be dealt with in the MIB handler. > > >> Is there any method to get the index values in template code >> generated from "mib2c.iterate_access.conf"? > > No - that's not how these helpers work. > > Dave ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders