Hi all

I use net_snmp_5.2.1, I have implemented a table using table iterator
method. But the cache is not working properly. I added

 netsnmp_inject_handler(reg, netsnmp_get_cache_handler(CACHE_TIMEOUT,
                       readData, storeData, table_oid, table_oid_len))

in "init_myModule" routine. But this does not have any effect as when I
tried snmpwalk, the get_*_data_point routines are called for every entry
of the table (for every GETNEXT request). what is the problem?

My other problem is, I could not understand how a new row can be added to
the cache.

Yirdaw G




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to