On Thu, 30 Dec 2004 15:35:39 -0800 Muralidhar wrote: MG> Generated code using mib2c, everything is fine, MG> but on first attempt I get no data for snmpwalk, MG> returns immediately. MG> MG> It works from the next iteration. MG> MG> I have used the netsnmp_inject_handler() to have my own MG> load and free functions, which builds and frees the MG> linked list, with a cache timeout of 25 secs. MG> MG> For the fist time, I was expecting as soon as there is a MG> query of the table, the *Table_load() function gets called MG> which loads the data (in my case building the linked list).
Make sure you inject your caching handler above the table handler. Sounds like mabye yours is below the table handler. -- 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. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ 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
