[Pkg-net-snmp-devel] Bug#505063: snmpd: truncating value to 32 bits when reading UCD-SNMP-MIB::ssCpu*

Thomas Anders thomas.anders at blue-cable.de
Sun Nov 9 01:09:49 UTC 2008


Jorge Matias wrote:
> 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 ).

What exactly are you expecting snmpd to do instead?
UCD-SNMP-MIB::ssCpuRawIdle.0 is a Counter32 object by MIB definition.


+Thomas





More information about the Pkg-net-snmp-devel mailing list