On Fri, 6 Feb 2009 08:47:50 +0000 Dave wrote:
DS> >     It could be really useful if there was a way to set/change initial
DS> > values by specifying a timeout value in snmpd.conf ....
DS> 
DS> I suggest you talk to the author of the IF-MIB support :-)  :-)

I meant in a generic way, so that any cache could benefit.

DS> Note that it might also require some amendment to the if-mib code
DS> (?and mfd framework templates) to work properly, since this is
DS> where the cache entry is currently created.   How would this
DS> handle a pre-existing cache?

Hmmm...  Now that I think about it, there's no way to create the caches in
advance, since the callback stuff can't be known in advance. I suppose the
could be set to null and populated when looked up later. But perhaps a better
idea would just be to populate a data_list with key/value pairs from a
snmpd.conf token, and have each mib do a lookup for the value when creating
the cache... Of course, that would create a conflict with the persistent
storage of the cache table, if it was ever implemented...

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to