Hi Dave, My apologies if my ignorance was showing in my previous message regarding 'make install' should do it all. With fresh eyes in the morning and your very detailed reply, the reasoning for it, it is certainly understandable; though perhaps some information along these lines should be listed in the install read-me. This would assist relative new users of NetSNMP to get it right without needing to ask the forum the same questions. I certainly appreciate your patience.
So, to answer your question, yes, I am using the Debian (Lenny) flavor of Linux. I've downloaded and compiled NetSNMP source 5.6.1 for use on this server. As mentioned, when using the apt-get copy of init.d the service is starting normally on boot so it does appear my installation issues are over. Certainly a good learning curve, much better than always relying on apt-get to do the hard yards for me. I'll take a look at that cache setting now. Again, thanks for pointing this out. Your help has been invaluable! Cheers. Steve. On 17/02/2011 12:33 AM, Dave Shield wrote: > On 16 February 2011 13:13, Steve (Telsat Pacific)<st...@telsat.vu> wrote: >> forum some time ago, but didn't really get a helpful answer. When using my >> compiled version of Net SNMP, queries for the bandwidth on an interface >> gives me a data value every 3 seconds, any quicker and NetSNMP gives me a 0 >> (zero) value. When I tested this with the APT version of NetSNMP, the data >> value was only every 15 seconds, then when I re-compiled again back to the >> latest version, it was again every 3 seconds. > $ grep IFTABLE_CACHE_TIMEOUT agent/mibgroup/if-mib/ifTable/*.h > #define IFTABLE_CACHE_TIMEOUT 3 > > $ snmpget .... NET-SNMP-AGENT-MIB::nsCacheTimeout.1.3.6.1.2.1.2.2 > > should also give you the same value. > > >> I'd like to be able to get per-second values from the interfaces, do you >> know the command I can use to change from the 3-second values to a >> per-second value? > $ snmpset .... NET-SNMP-AGENT-MIB::nsCacheTimeout.1.3.6.1.2.1.2.2 i 1 > > > > Dave > > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users