Package: snmpd Version: 5.4.1~dfsg-10 Severity: important
When I get values from UCD-SNMP-MIB:ssCpu* tree the values returned are wrong because the are being truncated by snmpd at "myhost". This is reported by the snmpd in that machine. The message is like this: Nov 9 00:30:02 myhost snmpd[7312]: truncating integer value > 32 bits For example one of the OID that generates this message is UCD-SNMP-MIB::ssCpuRawIdle.0 . At my host the original value is 5136316310, but the value returned is 841345703 ( 5136316310 - 2^32 ). $ snmpwalk -v2c -c public myhost .1.3.6.1.4.1.2021.11.53.0 UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 841330503 [EMAIL PROTECTED]:~$ snmpwalk -v2c -c public myhost .1.3.6.1.4.1.2021.11 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::ssIOSent.0 = INTEGER: 19 UCD-SNMP-MIB::ssIOReceive.0 = INTEGER: 0 UCD-SNMP-MIB::ssSysInterrupts.0 = INTEGER: 24170 UCD-SNMP-MIB::ssSysContext.0 = INTEGER: 1910 UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 0 UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 0 UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 66 UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 13997285 UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 1539831 UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 24513727 UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 841345703 UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 1468478 UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 20416932 UCD-SNMP-MIB::ssIORawSent.0 = Counter32: 1088889232 UCD-SNMP-MIB::ssIORawReceived.0 = Counter32: 171636256 UCD-SNMP-MIB::ssRawInterrupts.0 = Counter32: 3523954127 UCD-SNMP-MIB::ssRawContexts.0 = Counter32: 46727634 UCD-SNMP-MIB::ssCpuRawSoftIRQ.0 = Counter32: 749446321 UCD-SNMP-MIB::ssRawSwapIn.0 = Counter32: 0 UCD-SNMP-MIB::ssRawSwapOut.0 = Counter32: 0 # cat /proc/stat cpu 13997297 1539831 24513778 5136316310 1468479 20416968 749448046 0 cpu0 6969590 877060 14837181 2829565394 278917 2553554 118798828 0 cpu1 7027707 662770 9676596 2306750915 1189562 17863413 630649218 0 intr 12114565056 ctxt 73061224657 btime 1196454014 processes 96806906 procs_running 1 procs_blocked 0 Regards, -- Jorge Matias CIIST - Centro de Informatica do Instituto Superior Tecnico Universidade Tecnica de Lisboa -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.23.9-1 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages snmpd depends on: ii adduser 3.105 add and remove users and groups ii debconf 1.5.17 Debian configuration management sy ii libc6 2.7-5 GNU C Library: Shared libraries ii libsnmp15 5.4.1~dfsg-10 SNMP (Simple Network Management Pr ii libwrap0 7.6.dbs-8 Wietse Venema's TCP wrappers libra snmpd recommends no packages. -- debconf information: * snmpd/upgradefrom521: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]