[Pkg-net-snmp-devel] Bug#505063: snmpd: truncating value to 32 bits when reading UCD-SNMP-MIB::ssCpu*
Jorge Daniel Sequeira Matias
jdsm at ist.utl.pt
Sun Nov 9 01:43:12 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Thomas Anders escreveu:
> 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: 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.
After sending this bug report I have realised that it really didn't make much sense. But what I can see for sure, is that my CPU graphics in "Cacti" don't
show the same CPU Usage as it did before the upgrade.
These are CPU graphics of that machine (It's a router). You can see clearly a change in graphics aspect after the upgrade on Friday, 7th November.
Anyway, I didn't expect to start receiving messages warning that the value was being truncated. It didn't happen with snmpd 5.2.1 .
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Pkg-net-snmp-devel