Re: if{In,Out}Octets update time

Alex Suykov <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thu, Feb 05, 2009 at 08:31:54AM +0000, Dave Shield wrote:

> Have a look at 'mibgroup/if-mib/ifTable/*.c
> In particular:
> 
>    ifTable_data_access.c:ifTable_container_init()
>       cache->timeout = IFTABLE_CACHE_TIMEOUT;     /* seconds */
Thanks, that's it.

Setting cache->enabled = 0 has no effect for some reason, but
1 second timeout is ok for me.

> That's normally set at 15s (rather than 12).
You're right, checked it carefully and it really was 15.

snmpset also works but requires rw access, so I preferred
modifying defaults.

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
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.