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

does collector.yaml support /dev/disk/by-id as device keys? #730

Closed
xdaniel9 opened this issue Dec 10, 2024 · 1 comment
Closed

does collector.yaml support /dev/disk/by-id as device keys? #730

xdaniel9 opened this issue Dec 10, 2024 · 1 comment

Comments

@xdaniel9
Copy link

I want to ignore a specific disk, but /dev/sdX may change with boots
can I use the disk id as keys in the config file?

- device: /dev/disk/by-id/xxxx
  ignore: true
@AnalogJ
Copy link
Owner

AnalogJ commented Jan 4, 2025

if you're using docker, you can map devices using device UUIDs to "names" and then ignore them by name in the config file:

https://github.com/AnalogJ/scrutiny/blob/master/docs/TROUBLESHOOTING_DEVICE_COLLECTOR.md#force-devdiskby-id-paths

@AnalogJ AnalogJ closed this as completed Jan 4, 2025
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