Hi,

Running 5.1.1 on Linux.

Generated code using mib2c, everything is fine,
but on first attempt I get no data for snmpwalk,
returns immediately.

It works from the next iteration.

The source for the table data is in the form of a 
linked list, obviously for the first get_data_point, 
head is null. this is way, get_first_data_point returns
null and hence snmpwalk.

I have used the netsnmp_inject_handler() to have my own
load and free functions, which builds and frees the 
linked list, with a cache timeout of 25 secs.

For the fist time, I was expecting as soon as there is a 
query of the table, the *Table_load() function gets called 
which loads the data (in my case building the linked list).

But that does not seem to be the case.

Any ideas ?

Thanks
/Murali


-------------------------------------------------------
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
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