Hello,

We are using NET-SNMP 5.7.3 to extent the agent to support network
management for a wireless networking product that is built as per
IEEE802.22 specifications. We have used the mib2c.mfd.conf (container
cached) to generate the code. The devices exposes an API for GET/SET
operations. The data is loaded in _table_load in table_data_access.c using
this API. Since there are lot of tables with lot of columns, a single GET
triggers  several requests (one for each column) to the device every time
the cache expires (by default 6 seconds). To avoid this we just assigned
default values in table_data_access.c and called the API in
table_data_get.c:_column_get() function. Also, we set the cache timeout to
0. This works, but we have observed that after some time after the first
GET request (10 minutes or so) , we see multiple requests (around 6 or so)
going to the device for the same OID (column). This does not happen if the
second GET request is within the 10 minutes - if it is within this time
frame , only one request goes to the device.

Basically, we would like the table_load to load only the requested column
every time a GET request comes in instead of loading all the columns - Is
this achievable with the mib2c.mfd.conf generated code?

Thanks,
Vinod
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to