[collectd-changes] collectd, the system statistics collection daemon: Changes to 'collectd-4.3'
octo at verplant.org
Sat Jun 7 20:47:37 CEST 2008
src/disk.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Author: Alessandro Iurlano <alessandro.iurlano at gmail.com>
Date: Sat Jun 7 15:16:18 2008 +0200
disk plugin: Use correct name under Linux 2.4
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 18.104.22.168 (Debian Sid) systems.
Thanks a lot for Collectd. It is a _very_ useful program.
Signed-off-by: Florian Forster <octo at huhu.verplant.org>
More information about the collectd-changes