Re: Get network interface traffic values with one second interval.
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 08/08/06, Ricardo Aguiar <[email protected]> wrote: > I'm using net-snmp 5.3 (net-snmp-5.3-4.2) with fedora core 5 to get in/out traffic statistics > with a one second interval.... Unfortunately,... I am only able to obtain meaningful values if > I use 30 seconds or even more intervals. Robert's the expert on the new IF-MIB module (and the MfD framework in general), but a quick scan of the code seems to indicate that the cache timeout is being set in the routine _ifTable_container_init(), which is defined in the file if-mib/ifTable/ifTable_interface.c Try changing '30' to read '1' in the call to netsnmp_cache_create(), and re-compile. I'm not sure whether this module uses the agent/nsCache module, which would allow you to tweak the cache timeout dynamically, via SNMP SET requests. You'd have to ask Robert about that. 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