Anyone know what would be involved in reviving the patch from long ago adding disk io to the core metrics?[1]
I see that there's something similar for solaris[1], but digging around in the solaris impl[2] shows this is coming from a kstat_read(3KSTAT), so that isn't going to work for linux. Apparently this patch grabs the data from /proc/partitions or /proc/diskstats depending on kernel version. This seems to be supported by the linux kernel iostats docs[3]. Does that seem sane? I've never written a C plugin for ganglia before, so if you've got any advice, I'd appreciate it. -- ~j 1: https://www.mail-archive.com/ganglia-developers@lists.sourceforge.net/msg04130.html 2: https://github.com/ganglia/monitor-core/blob/master/gmond/modules/disk/mod_disk.c#L71-L80 3: https://github.com/ganglia/monitor-core/blob/8629b31407cde57c4ed7980ddab4e2a29ab589dd/libmetrics/solaris/metrics.c#L498-L518 4: https://www.kernel.org/doc/Documentation/iostats.txt
signature.asc
Description: Message signed with OpenPGP using GPGMail
------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers