[pkg-go] Bug#922803: prometheus-node-exporter: Error "awk: not an option: -nf" generated on ipmitool text collector invocation

Cole White cwhite at wikimedia.org
Wed Feb 20 21:19:29 GMT 2019


Package: prometheus-node-exporter
Version: 0.17.0+ds-3
Severity: normal

We discovered that for hosts with ipmitool installed that the ipmitool text collector would emit an error and not populate the ipmi metrics file.  This appears to be due the "-n" flag in the shebang line being incompatible with mawk in the upstream "text_collector_examples/ipmitool" script.  A PR with upstream is pending: https://github.com/prometheus/node_exporter/pull/1269

If the patch is not accepted upstream, it seems a good candidate for Debian inclusion as the ipmitool collector is broken and unusable without manually modifying the script.

Thank you!

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages prometheus-node-exporter depends on:
ii  libc6         2.28-6
ii  moreutils     0.62-1
ii  systemd-sysv  240-5

Versions of packages prometheus-node-exporter recommends:
ii  dbus           1.12.12-1
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 [not included]

-- no debconf information



More information about the Pkg-go-maintainers mailing list