On 8/23/06, Dave Shield <[EMAIL PROTECTED]> wrote:
On 23/08/06, Gilson Soares <[EMAIL PROTECTED]> wrote:
> I've changed:
> "ifTable/ifTable_interface.c:_ifTable_container_init()"
> netsnmp_cache_create( 30, .... );
> => 30 to 5
I've done some further testing, and this appears to be irrelevant.
> 'ifTable/ifTable_data_access.h"
> #define IFTABLE_CACHE_TIMEOUT 15
> => 15 to 5
This is the important one. Changing this value *does* affect the
granulatity of the data reported. However, you also need to touch the
file ifTable/ifTable_data_access.c (which is where this value is
actually used). Updating the header file doesn't seem to be
sufficient for make to recognise that this file needs to be
recompiled.
Try
touch mibgroup/if-mib/ifTable/ifTable_data_access.c
make
and you should find that the agent reports values that change every 5 seconds.
No - I don't know why this is necessary. The workings of the MfD
framework are a mystery to me!
Dave
WORKED !
Could this be an option in SNMPD.CONF ?
Really thanks Dave.
-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
