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

Ability to exclude device from smartctl scan #97

Closed
k3nny0ne opened this issue Nov 7, 2022 · 3 comments · Fixed by #99
Closed

Ability to exclude device from smartctl scan #97

k3nny0ne opened this issue Nov 7, 2022 · 3 comments · Fixed by #99
Labels
enhancement New feature or request

Comments

@k3nny0ne
Copy link

k3nny0ne commented Nov 7, 2022

I want do exclude some specific devices from metrics collection (like, NVMe).
It would be cool to specify them in command line (e.g. --smartctl.exclude /dev/nvme1 --smartctl.exclude /dev/nvme2 ...).

@SuperQ
Copy link
Contributor

SuperQ commented Nov 7, 2022

Seems like a reasonable idea. PRs welcome. There's an example device filter pattern in the node_exporter that can be used here.

@SuperQ SuperQ added the enhancement New feature or request label Nov 7, 2022
@k0ste
Copy link
Contributor

k0ste commented Nov 7, 2022

This is the same was #72

@SuperQ
Copy link
Contributor

SuperQ commented Nov 7, 2022

@k0ste I think this is similar, but not exactly the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants