Re: if{In,Out}Octets update time

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/2/4 Alex Suykov <[email protected]>:
>                                 reading interfaces.c/ifTable.c
> doesn't help very much too. Seems like I'm looking in the wrong place.
>
> I use snmpd from net-snmp-5.4.2.1 as server

Have a look at 'mibgroup/if-mib/ifTable/*.c
In particular:

   ifTable_data_access.c:ifTable_container_init()
      cache->timeout = IFTABLE_CACHE_TIMEOUT;     /* seconds */


That's normally set at 15s (rather than 12).

Note that you should be able to adjust this timeout on a running agent,
using the NET-SNMP-AGENT-MIB::nsCacheTable

Dave

------------------------------------------------------------------------------
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.