[pkg-go] Bug#920827: Error parsing smartmon.prom after upgrade

Martín Ferrari tincho at tincho.org
Wed Jan 30 16:00:18 GMT 2019

Hi Antoine,

On 29/01/2019 17:50, Antoine Beaupre wrote:

> I started seeing this in my logs on buster recently:
> jan 29 12:48:02 curie prometheus-node-exporter[940]: time="2019-01-29T12:48:02-05:00" level=error msg="Error parsing \"/var/lib/prometheus/node-exporter/smartmon.prom\": text format parsing error in line 54: unknown metric type \"type is not sat, scsi or megaraid but usbsunplus gauge\"" source="textfile.go:211" 

> It's strange because "line 54" of that file is:
> smartmon_end_to_end_error_threshold{disk="/dev/sdb",type="sat",smart_id="184"} 0
> and type *is* "sat, scsi or megaraid" (it's "sat") and most definitely
> not "usbsunplus". what's going on here?

That's weird.. But I'd bet the error refers to another line in that
file. After all, node-exporter has no idea of sat, scsi, or megaraid. I
think that must be some text in the file. Could you send the contents of it?


Martín Ferrari (Tincho)

More information about the Pkg-go-maintainers mailing list