Open PhilipMay opened 2 years ago
Well... I think smartctl can not be used as non root user - right?
I think "privileged" is required, but we can launch the Python code with non-root user. You can look for inspiration here => https://github.com/prometheus-community/smartctl_exporter PRs are welcome.
https://github.com/matusnovak/prometheus-smartctl/blob/3fbd7bbb06b466bfeb7c1eb99aec45a5951f1458/Dockerfile#L12