micha37-martins / S.M.A.R.T-disk-monitoring-for-Prometheus

Prometheus node_exporter text_collector for S.M.A.R.T disk values
Apache License 2.0
92 stars 26 forks source link

text format parsing error #11

Closed krisnyse closed 1 month ago

krisnyse commented 1 year ago

Hi,

Node exporter throws out this error message: level=error collector=textfile msg="failed to collect textfile data" file=smart_metrics.prom err="failed to parse textfile data from \"/var/lib/node_exporter/textfile_collector/smart_metrics.prom\": text format parsing error in line 6: expected float as value, got \"0,000000e+00\""

Line 6 in the prom file looks like this: smartmon_current_pending_sector_raw_value{disk="/dev/sda",type="sat",smart_id="197"} 0,000000e+00

vivlab commented 11 months ago

Hi,

Any advice for this problem ? I have the same issue.

Regards

micha37-martins commented 1 month ago

I also had this and it should now be fixed or properly handled after the rewrite.