Tracker: Patches

5 truncate COUNTER values to 32 bits in UCD-DISKIO-MIB - ID: 1866823
Last Update: Comment added ( nobody )

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.


Nobody/Anonymous ( nobody ) - 2008-01-08 13:42

5

Closed

Accepted

Wes Hardaker

None

None

Public


Comments ( 3 )

Date: 2008-03-11 15:32
Sender: nobody

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


thanks.
Lesly Dorval
ladorval@yahoo.com


Date: 2008-02-12 22:10
Sender: hardakerProject Admin

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.


Date: 2008-01-08 13:50
Sender: jsafranek

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


Comments have been closed for this artifact.

Attached File ( 1 )

Filename Description Download
net-snmp-diskio-truncation.patch proposed patch Download

Changes ( 5 )

Field Old Value Date By
status_id Open 2008-02-12 22:10 hardaker
resolution_id None 2008-02-12 22:10 hardaker
assigned_to nobody 2008-02-12 22:10 hardaker
close_date - 2008-02-12 22:10 hardaker
File Added 261323: net-snmp-diskio-truncation.patch 2008-01-08 13:42 nobody