--- Quoting Sylvain Coutant on 2006/01/18 at 12:41 +0100: > Hi list, > > We have problems grabbing statistics through snmp on our amd64 config. Using > netsnmp and scripts that work on many other systems (OpenBSD 3.8 i386, Ubuntu > Linux amd64, Debian Sarge i386) we are unable to get the CPU usage (always > returns 0) and network interfaces return 64 bits counters in 32 bits OIDs. > > It looks it's long time known problems but we were unable to find a > workaround.
I've seen the same on amd64 (OpenBSD 3.7 and 3.8) running net-snmp 5.x. I haven't noticed any issue with interface counters, but CPU and memory are not accurate. UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 0 UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 0 (this one is accurate, oddly): UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 1047160 UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 0 UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 0 UCD-SNMP-MIB::ssIndex.0 = INTEGER: 1 UCD-SNMP-MIB::ssErrorName.0 = STRING: systemStats UCD-SNMP-MIB::ssSwapIn.0 = INTEGER: 0 UCD-SNMP-MIB::ssSwapOut.0 = INTEGER: 0 UCD-SNMP-MIB::ssSysInterrupts.0 = INTEGER: 0 UCD-SNMP-MIB::ssSysContext.0 = INTEGER: 0 UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 0 UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 0 UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 0 UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 0 The problem is with net-snmp. Beyond this I haven't chased it down. .joel