/usr/share/prometheus-node-exporter-collectors/smartmon.sh line 20 is :
 20   printf "%s_raw_value{%s,smart_id=\"%s\"} %e\n", $2, labels, $1,
$10 the explicitly requested format is "%e" which is the scientific
notation and not the human float notation expected by prometheus. I
think that the right fix would be to print a "%f" format, which would
work in any locale. BTW, this formatting (%e) is also used in other
places in this script, but outside of my test hardware.

Reply via email to