I already found node_exporter and grafana board for HDD S.M.A.R.T. Can You please get advice or url for ready exporter or other toolkit?
I'm trying to wrote my own "messy" text exporter for prometheus, but I think that there must be ready solution.
nvme list | grep dev | cut -d " " -f1 | cut -d "/" -f3 | xargs -I % sh -c 'nvme smart-log /dev/% | tr -d " ."| sed "s/:/{disk=\"\/dev\/%\"} /g"| sed "s/ C//g"' | grep -v "Log"| tr -d "%" | sed "s/C$//g"
smartctl
added nvme support in versions >= 6.5.nvme smart-log <device> -o json
should provide the information you are looking for.