Re: NET-SNMP 5.3 and Fedora Core 5 (traffic update every 30 seconds)

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