Re: snmpd ifOutOctets refresh

Laurent Luce <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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
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.