Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeBSD rc.d system collector missing #2219

Open
ghost opened this issue Nov 25, 2021 · 3 comments
Open

FreeBSD rc.d system collector missing #2219

ghost opened this issue Nov 25, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 25, 2021

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

@0mp
Copy link
Contributor

0mp commented Nov 16, 2022

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
Copy link
Contributor

0mp commented Nov 17, 2022

I've submitted a PR with a textfile collector here: prometheus-community/node-exporter-textfile-collector-scripts#129

@discordianfish
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants