PDA

View Full Version : zabbix_agent and disk io


liedekef
03-05-2005, 15:40
Hi,

I just noticed that in order to detect disk io, the information in diskdevices.c is being taken from /proc/stat. In newer linux versions this should be taken from /proc/partitions instead. So I was wondering if you could provide a small patch to the function init_stats_diskdevices() that uses the info from /proc/partitions?


with friendly regards,

Franky