Open evanrich opened 2 months ago
Hi,
Which pysmart version are you using?
hey @ralequi I'm using whatever version is currently released, looks like 1.3.0. I tried multiple verisons of pysmart, the exporter (going back as far as v0.2.0) and the prometheus-client, going back to like 0.10.0, and couldn't get it to work.
My thoughts are that in the system I'm running this on (a venv on trueNAS scale), that maybe the nvme drives are throwing it off, or that it looks like your code was written for python 3.8, but truenas provides python 3.11 and that this was something between 3.8 and 3.11. I ended up finding another exporter (smart-exporter) that does something similar, but I can try and mess around with this next week or so. I'll be out of town for a week starting tonight but I can debug further to figure out if its a 3.8/3.11 or nvme issue.
From the errors, prometheus-client doens't seem to like something it's being fed, so it's either i think something in pysmart, or a 3.8/3.11 difference.