On 6 June 2012 15:46, Magda Stefan <fane...@yahoo.com> wrote:
> I've read that if I set the Timeout to -1 the load routine will be called
> every time a get request is received.

That is what you wanted, wasn't it?



> I've completely forgot about the .h file.Here is an archive with my folder.

OK - I've finally managed to track down the problem.

When you register the cache handler, you're using

     netsnmp_inject_handler_before( reg,
                 netsnmp_cache_handler_GET(cache),
                 TABLE_DATA_NAME);

This needs to use 'TABLE_TDATA_NAME' instead
(to match the table helper that's being used).

That was probably a problem with the mib2c.table_data.conf
file that you used to generate the code.   Remind me - which
version of the software are you using?
    I've checked the current version of this file on all active
branches, and it's correct.  But I'm not sure when this will have
changed.

Anyway - changing that line should fix things for you.

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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