Created attachment 222631 [details] shar file This is a new port for a gstat-bases Prometheus exporter. It is based on the following sources: https://github.com/tykling/gstat_exporter https://yetiops.net/posts/prometheus-consul-saltstack-part-4-freebsd/#gstat-exporter---deployment
I noticed on a FreeBSD 11.2 of mine that this doesn't work there, as it uses the following child process: gstat -pdosCI 5s and `-C` parameter was added in 12.0.
A commit references this bug: Author: madpilot Date: Sun Feb 28 19:09:19 UTC 2021 New revision: 566796 URL: https://svnweb.freebsd.org/changeset/ports/566796 Log: Prometheus exporter for FreeBSD gstat data WWW: https://github.com/tykling/gstat_exporter PR: 253688 Submitted by: lapo@lapo.it Changes: head/net-mgmt/Makefile head/net-mgmt/py-gstat_exporter/ head/net-mgmt/py-gstat_exporter/Makefile head/net-mgmt/py-gstat_exporter/distinfo head/net-mgmt/py-gstat_exporter/files/ head/net-mgmt/py-gstat_exporter/files/gstat_exporter.in head/net-mgmt/py-gstat_exporter/pkg-descr
Port added to the tree. Thanks!