[collectd] Bug report for the disk plugin (patch included)

Alessandro Iurlano alessandro.iurlano at gmail.com
Sat Jun 7 15:16:18 CEST 2008

Hello everybody.

I have noticed that disk graphs are displayed by collection.cgi as
disk (71687000) instead of the correct disk name on 2.4.x linux
The problem seems caused by the fact that the position of disk name of
/proc/partitions (used in 2.4 kernels) differs from /proc/diskstats
(used in 2.6 kernels).

I include as attachment a patch that seems to fix this problem.
I have tested it on 2.4.20 (REDHAT 9) and (Debian Sid) systems.

Thanks a lot for Collectd. It is a _very_ useful program.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: disk-plugin-name-fix-kernel-v2.4.patch
Type: text/x-diff
Size: 372 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080607/12d47bba/attachment.patch 

More information about the collectd mailing list