node_exporter
node_exporter copied to clipboard
FreeBSD rc.d system collector missing
Host operating system: output of uname -a
step01 ~ » uname -a FreeBSD step01.infra.isi.ca 12.2-RELEASE-p7 FreeBSD 12.2-RELEASE-p7 GENERIC amd64
node_exporter version: output of node_exporter --version
step01 ~ » node_exporter --version node_exporter, version 1.2.2 (branch: release-1.2, revision: 0) build user: root build date: go version: go1.17 platform: freebsd/amd64
node_exporter command line flags
step01 ~ » cat /etc/rc.conf | grep node node_exporter_enable="YES" node_exporter_args="--no-collector.zfs"
Are you running node_exporter in Docker?
No
What did you do that produced an error?
No error.
What did you expect to see?
It would be nice to have a collector for FreeBSD rc.d sytem so we can monitor services directly with node_exporter.
What did you see instead?
N/A
This feature would be very appreciated. Unfortunately, there is no way to get this information without shelling out to an external program, which may be against the current design guidelines of the node_exporter project...
I've submitted a PR with a textfile collector here: https://github.com/prometheus-community/node-exporter-textfile-collector-scripts/pull/129
Yes, making this a textfile collector script makes most sense.