Re: Installing Net-SNMP from source.
Ashwin Kumar <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Dave, I guess Steve is using a Debian based OS. Correct me if I am wrong. :-) I will give a try on my Debian based OS and figure out why the daemon does not start automatically. For my information, Steve can you please tell your kernel version and more importantly the net-snmp version. Cheers, On Wed, Feb 16, 2011 at 7:03 PM, Dave Shield <[email protected]>wrote: > On 16 February 2011 13:13, Steve (Telsat Pacific) <[email protected]> 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 > [email protected] > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > -- -- Ashwin Kumar +91-974-054-7793 ------------------------------------------------------------------------------ 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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users