[pkg-go] Bug#920827: Error parsing smartmon.prom after upgrade
Antoine Beaupre
anarcat at debian.org
Tue Jan 29 17:50:09 GMT 2019
Package: prometheus-node-exporter
Version: 0.17.0+ds-2
Severity: normal
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 pretty noisy - every 15 seconds (naturally) a new line is added
to logs.
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?
thanks!
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages prometheus-node-exporter depends on:
ii daemon 0.6.4-1+b2
ii libc6 2.28-5
ii moreutils 0.62-1
ii systemd-sysv 240-4
Versions of packages prometheus-node-exporter recommends:
ii python 2.7.15-4
ii python3 3.7.2-1
ii smartmontools 6.6-1
prometheus-node-exporter suggests no packages.
-- Configuration Files:
/etc/default/prometheus-node-exporter changed:
ARGS="--collector.diskstats.ignored-devices=^(ram|loop|fd|(h|s|v|xv)d[a-z]|nvme\\\\d+n\\\\d+p)\\\\d+$ \
--collector.filesystem.ignored-mount-points=^/(dev|proc|run|sys|mnt|media|snap|var/lib/docker)($|/) \
--collector.filesystem.ignored-fs-types=^(autofs|binfmt_misc|cgroup|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|mqueue|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|sysfs|tracefs)$ \
--collector.netdev.ignored-devices=^lo$ \
--collector.logind \
--collector.systemd \
--collector.textfile.directory=/var/lib/prometheus/node-exporter"
-- no debconf information
More information about the Pkg-go-maintainers
mailing list