#874 truncate COUNTER values to 32 bits in UCD-DISKIO-MIB


The UCD-DISKIO-MIB implementation on 64-bit Linux does not cut long values to 32 bits. The snmpd then spams syslog with "truncating integer value > 32 bits" when the values are getting big.

This simple patch adds necessary truncation to 32 bits, making snmpd quiet, syslog empty and administrators happy.


  • Jan Safranek

    Jan Safranek - 2008-01-08

    Logged In: YES
    Originator: NO

    Sorry, I was not logged it... Just know that it is my patch.

  • Wes Hardaker

    Wes Hardaker - 2008-02-12

    Logged In: YES
    Originator: NO

    Thanks for the patch! It has been applied to the 5.2.x, 5.3.x and 5.4.x code branches and the main development tree, and will appear in future releases of the Net-SNMP package.

  • Nobody/Anonymous

    Logged In: NO

    This patch sound like the solution i need. How to I apply and test that patch on my machine? How do I verify that the patch is installed?
    I am running version 5.3.1 and here are the modules modules and updates installed on my system right now.
    host]# yum list | grep snmp
    net-snmp.x86_64 1:5.3.1-14.0.1.el5 installed
    net-snmp-libs.x86_64 1:5.3.1-14.0.1.el5 installed
    net-snmp-perl.x86_64 1:5.3.1-19.el5_1.3 installed
    net-snmp-utils.x86_64 1:5.3.1-19.el5_1.4 installed
    cluster-snmp.x86_64 0.10.0-5.el5.centos base
    net-snmp.x86_64 1:5.3.1-19.el5_1.4 updates
    net-snmp-devel.x86_64 1:5.3.1-19.el5_1.4 updates
    net-snmp-devel.i386 1:5.3.1-19.el5_1.4 updates
    net-snmp-libs.x86_64 1:5.3.1-19.el5_1.4 updates
    net-snmp-libs.i386 1:5.3.1-19.el5_1.4 updates
    net-snmp-perl.x86_64 1:5.3.1-19.el5_1.4 updates
    php-snmp.x86_64 5.1.6-15.el5 base

    Lesly Dorval


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks