On Thu, 12 Mar 2009 15:10:27 -0700 Tushar wrote:
TG> Does the ifTable cache have the DONT_FREE_BEFORE_LOAD and 
TG> DONT_FREE_EXPIRED flags set on purpose?

Yes.

TG>          IF-MIB::ifName.36 = STRING: eth0.100  <======= stale entry

Is the ifStatus down?

TG> Is there a reason the cache is not invalidated before calling 
TG> _cache_load()?

Yes.. the old entries are needed to

a) implement 64 bit counters (esp on 32 bit systems)
b) notice when interfaces appear and disappear

If you look at the code, it wouldn't be too to add code to remove interfaces
that go down, bit it should be configurable and default to off. People who
have vlans that periodically go up and down should have the option of keeping
the running counters.

-rs

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to