Dear Sirs
Using STG (SNMP Traffic Grapher: http://leonidvm.chat.ru/) to see short term traffic consumption, I notice NET-SNMP
5.3.1 running on Fedora Core 5 (FC5) is updating traffic counters EVERY 30 SECONDS. in opposite to standard EVERY SECOND on v.5.2.1 (FC4).
I tried to 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").
In fact, I don't know if net-snmp read the data from there... anyway.
I've changed:
"ifTable/ifTable_interface.c:_ifTable_container_init()"
netsnmp_cache_create( 30, .... );
=> 30 to 5
'ifTable/ifTable_data_access.h"
#define IFTABLE_CACHE_TIMEOUT 15
=> 15 to 5
No success.
Does anyone knows how to configure NET-SNMP to return traffic counters every second as before ?
-Thanks
-Gilson
------------------------------------------------------------------------- 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-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
