Thanks Dave.

Too bad this cannot be set in snmpd.conf. I will compile my own server with 
that setting.

Laurent



----- Original Message ----
From: Dave Shield <[email protected]>
To: Laurent Luce <[email protected]>
Cc: [email protected]
Sent: Saturday, March 14, 2009 4:34:04 PM
Subject: Re: snmpd ifOutOctets refresh

2009/3/14 Laurent Luce <[email protected]>:
> I am wondering how often the interface table stats are refreshed.
> I can see the number of octets going out getting updated fine when
> i run ifconfig eth0 but the reply from snmpd is updated maybe only
> every 10 seconds or so (even if I poll every second). Any ideas why ?

   $ cd agent/mibgroup/if-mib
   $ grep IFTABLE_CACHE_TIMEOUT */*
   ifTable/ifTable_data_access.c:    cache->timeout =
IFTABLE_CACHE_TIMEOUT;     /* seconds */
   ifTable/ifTable_data_access.h:#define IFTABLE_CACHE_TIMEOUT   15

Dave

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

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

Reply via email to