node_exporter icon indicating copy to clipboard operation
node_exporter copied to clipboard

FreeBSD rc.d system collector missing

Open ghost opened this issue 3 years ago • 3 comments

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

ghost avatar Nov 25 '21 08:11 ghost

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...

0mp avatar Nov 16 '22 11:11 0mp

I've submitted a PR with a textfile collector here: https://github.com/prometheus-community/node-exporter-textfile-collector-scripts/pull/129

0mp avatar Nov 17 '22 15:11 0mp

Yes, making this a textfile collector script makes most sense.

discordianfish avatar Dec 13 '22 12:12 discordianfish