Dave,
 
I don't believe it's these settings.
I downloaded the 5.2.3 source and compared against 5.3.1.
These two pieces hasn't changed.
 
I tried figure out if the problem is in Linux. I found "/proc/net/dev" that updates continuously the values for traffic.
(try "watch -n1 -d cat /proc/net/dev").
 
I'm still suspecting that "30 seconds refresh" is inside the sources.
 
Really thanks
-Gilson


 
On 8/21/06, Dave Shield <[EMAIL PROTECTED]> wrote:
On 18/08/06, Gilson Soares <[EMAIL PROTECTED]> wrote:
> Does anyone knows how to configure NET-SNMP to be every second as before ?

There are two places where this appears to be controlled.
One is in 'ifTable/ifTable_interface.c:_ifTable_container_init()',
where there's a call to
   netsnmp_cache_create( 30, .... );

The other is in 'ifTable/ifTable_data_access.h', where there's a definition
   #define IFTABLE_CACHE_TIMEOUT   15

Try changing one (or both) of these to 1, and re-compiling.

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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