On 12 April 2011 14:28, Zimmer Hu <[email protected]> wrote: >> You still haven't provided the output from "snmpwalk" that I asked for. > > Here is snmpwalk output (only partial, too long as a whole).
No - please post the *WHOLE* of the output. (Probably as an attachment would be best). Or at least make it available on a website somewhere, and post a link to it. I cannot hope to help you track down what is going wrong if I'm constantly working with incomplete information! > I reset Index > counter to 1 in loop_free_at_end, and the snmpwalk just returns the latest > syslog record in snmpwalk command (the "stCnt: 1" is the debug record). What happens if you do *not* reset the index counter here? The purpose of the 'free_loop_context_at_end" hook (which is what I presume you are referring to here) is to release any resources that you have allocated during the get_first/next cycle. It's probably not sensible to try and do anything else. Perhaps you should post the full code of your MIB module. so that we can see exactly what you are doing, and what might be going wrong. Dave ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
