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

smartmon.py won't collect nvme drive metrics #110

Open
amigthea opened this issue Jan 8, 2022 · 3 comments
Open

smartmon.py won't collect nvme drive metrics #110

amigthea opened this issue Jan 8, 2022 · 3 comments

Comments

@amigthea
Copy link

amigthea commented Jan 8, 2022

it only collect sata sd* drives metrics

@dswarbrick
Copy link
Member

Did you notice the nvme_metrics.sh in this repo?

@amigthea
Copy link
Author

amigthea commented Jan 8, 2022

unfortunately no, I totally didn't notice that. But I want to avoid to get two text agent running and scraping the same kind of metrics: smartctl can return metrics for nvme devices as well and that command is used in the smartmon.py script. Could it be possible to edit the code and include nvme devices too? or at least can you please point me where in the python code nvme are filtered out? I'm new to python but I'm willing to learn and edit that by myself

@bjornfor
Copy link

FYI, https://github.com/prometheus-community/smartctl_exporter collects metrics for both SATA and NVMe drives.

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

Successfully merging a pull request may close this issue.

3 participants