A few people, myself included have worked to improve collectd's disk metrics on FreeBSD. It adds disk I/O operations and latency metrics. The dependency on libstatgrab has been removed for disk statistics. We just got the improvements pushed in upstream, see GitHub: https://github.com/collectd/collectd/pull/1188. I would like to have them available to everyone now since collectd releases are not very often. This patch has been running well for a week on my systems.
Created attachment 159863 [details] patch
OK, Thanks a lot for your work. I aproove.
Please wait with commit of this patch - I wold like to merge it with #201773 - correct support python with DEBUG. I will try to merge these two patched and add cumulative one. Thanks a lot.
Created attachment 159870 [details] Merged python support from bug #201773
Close, your cumulative patch misses the changes to src/disk.c, but I will fix it up. Thank you!
Created attachment 159872 [details] Merged support for bug #201773 - corrected
I'm not able to make your patch obsolete - could you do it yourself? Thanks.
A commit references this bug: Author: brd Date: Fri Aug 14 19:30:13 UTC 2015 New revision: 394253 URL: https://svnweb.freebsd.org/changeset/ports/394253 Log: Add native disk metrics thanks to delphij, Ruben Kerkhof <ruben@rubenkerkhof.com>, and myself. [1] Fix Python option when building with debug enabled python [2] PR: 202327 [1] PR: 201773 [2] Submitted by: brd [1] Submitted by: Suraj Ravichandran <suraj@ixsystems.com> [2] Approved by: Krzysztof <ports@bsdserwis.com> (maintainer), bdrewery (mentor) Changes: head/net-mgmt/collectd5/Makefile head/net-mgmt/collectd5/files/patch-configure.ac head/net-mgmt/collectd5/files/patch-src__Makefile.am head/net-mgmt/collectd5/pkg-plist
Committed, thanks!
A commit references this bug: Author: brd Date: Sun Aug 16 08:21:21 UTC 2015 New revision: 394392 URL: https://svnweb.freebsd.org/changeset/ports/394392 Log: Opps, forgot to actually add the patch file to actually give us the new disk support! PR: 202327 Approved by: bdrewery (mentor) Changes: head/net-mgmt/collectd5/files/patch-src_disk.c