node-exporter-textfile-collector-scripts icon indicating copy to clipboard operation
node-exporter-textfile-collector-scripts copied to clipboard

smartmon.py won't collect nvme drive metrics

Open amigthea opened this issue 3 years ago • 3 comments

it only collect sata sd* drives metrics

amigthea avatar Jan 08 '22 18:01 amigthea

Did you notice the nvme_metrics.sh in this repo?

dswarbrick avatar Jan 08 '22 19:01 dswarbrick

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

amigthea avatar Jan 08 '22 19:01 amigthea