requesting help

This is a discussion on requesting help within the SNMP Coders forums, part of the Networking and Network Related category; Hi all I use net_snmp_5.2.1, I have implemented a table using table iterator method. But the cache is ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-23-2005
02MCMC43-mca-Yirdaw Gashaw
 
Posts: n/a
Default requesting help

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/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:22 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0