smokeping prober ignores log level

Bug #2077102 reported by Igor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
prometheus-smokeping-prober (Ubuntu)
New
Undecided
Unassigned

Bug Description

Log level is permanently set to "debug" and smokeping-prober floods logs with every ICMP packet it receives:

Aug 15 13:32:03 arwen prometheus-smokeping-prober[2281731]: ts=2024-08-15T12:32:03.138Z caller=log.go:168 level=debug msg="Echo reply" ip_addr=x.x.x.5 bytes_received=32 icmp_seq=15 time=11.078098ms ttl=63
Aug 15 13:32:03 arwen prometheus-smokeping-prober[2281731]: ts=2024-08-15T12:32:03.484Z caller=log.go:168 level=debug msg="Echo reply" ip_addr=x.x.x.10 bytes_received=32 icmp_seq=15 time=22.736765ms ttl=64
Aug 15 13:32:03 arwen prometheus-smokeping-prober[2281731]: ts=2024-08-15T12:32:03.936Z caller=log.go:168 level=debug msg="Echo reply" ip_addr=x.x.x.2 bytes_received=32 icmp_seq=15 time=141.583454ms ttl=63

I tried to set log level to info (which should be the default) and error - no difference (ps shows the command line option is present).

I checked the upstream version in the container and the package from Ubuntu 24.04 - the problem is not present in those versions, it's only in Ubuntu 22.04. Unfortunately I can't upgrade this server now.

Possibly related: while searching the web, I found Debian bug #1010054 for another Prometheus exporter, but someone mentions similar log in Smokeping and explains: "the log level is not set correctly if the exporter still uses go-kit/kit/log (instead of the newer go-kit/log) and is built with prometheus/common v0.26.0 or later."

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: prometheus-smokeping-prober 0.5.0-1
ProcVersionSignature: Ubuntu 5.15.0-117.127-generic 5.15.158
Uname: Linux 5.15.0-117-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Thu Aug 15 16:35:58 2024
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: prometheus-smokeping-prober
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.prometheus.smokeping_prober.yml: [modified]
mtime.conffile..etc.default.prometheus-smokeping-prober: 2024-08-15T13:31:37.022384
mtime.conffile..etc.prometheus.smokeping_prober.yml: 2024-08-09T16:12:34.512434

Revision history for this message
Igor (igor-tumus) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.