Re: Perhaps in OID .1.3.6.1.2.1.2.2.1.10.3 are updated only every 30 seconds, why?

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 18/11/2007, [email protected] <[email protected]> wrote:
> -- Why are updated only every 30 seconds?

When the agent receives a request for any information from
the ifTable, it will read in the data for *all* interfaces.   This
process is relatively expensive, so it is cached for later use.
This helps when walking the whole table.


> -- In version smnpd 5.1.2, the data are updated through 1 second

The 5.1.x code didn't have much support for data caching, so most
MIB modules (including the ifTable) would retrieve data afresh for
every single request.  This gives more up-to-date information, at
the cost of increased processing overheads.

Later release lines improved the caching support, so the newer
ifTable implementation makes use of this facility.


> -- In man snmpd.conf found mention about versionClearCache,
> thinking that might help

Probably not.
But have a look at the NET-SNMP-AGENT-MIB::nsCacheTable.
That should allow you to tweak the expiry time of the ifTable cache,
or turn it off completely (by setting it to 0).

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.