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

Antoine Beaupré anarcat at debian.org
Wed Jan 30 16:04:35 GMT 2019


On 2019-01-30 16:00:18, Martín Ferrari wrote:
> 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?

Sure, attached.

-- 
La dictature c'est ferme ta gueule.
La démocratie c'est cause toujours!
                        - Jean-Louis Barrault
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: smartmon.prom
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20190130/d2feadab/attachment.ksh>


More information about the Pkg-go-maintainers mailing list