Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Image v0.8.1 is broken #55

Open
AndHain opened this issue Dec 20, 2023 · 3 comments
Open

Docker Image v0.8.1 is broken #55

AndHain opened this issue Dec 20, 2023 · 3 comments

Comments

@AndHain
Copy link

AndHain commented Dec 20, 2023

Running the current Docker image version v0.8.1 fails with the following message

/bin/mqtt_blackbox_exporter: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /bin/mqtt_blackbox_exporter)
/bin/mqtt_blackbox_exporter: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /bin/mqtt_blackbox_exporter)

Docker command

docker run --rm -it -p 9214:9214 -v ${PWD}/:/data/ inovex/mqtt_blackbox_exporter:v0.8.1 -config.file /data/config.yaml

Config yaml

probes:
  - name: broker
    broker_url: tcp://mybroker.mybroker:1883
    topic: test/mybroker
    client_prefix: prefix
    messages: 10
    interval: 30s

Could you please have a look?

@frittentheke
Copy link
Contributor

On what OS and version are you running this?

@AndHain
Copy link
Author

AndHain commented Dec 21, 2023

Local: macOS 13.5.2

In a k8s setup it doesn't work either.

@sowiszcze
Copy link

sowiszcze commented Feb 6, 2024

Can confirm the same happening in my environment.

$ docker --version
Docker version 24.0.7, build afdd53b
$ cat /proc/version
Linux version 6.1.0-16-amd64 ([email protected]) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian 6.1.67-1 (2023-12-12)

Although I'm using docker compose instead.

Related parts of docker-compose.yml
version: '3.9'

services:
  blackbox-exporter:
    container_name: mqtt-blackbox-exporter
    image: inovex/mqtt_blackbox_exporter:${MQTT_BLACKBOX_EXPORTER_VERSION:-v0.8.1}
    command: -config.file /data/config.yaml
    networks:
      - default
      - monitoring
      - proxy
    volumes:
      - /srv/mqtt-blackbox-exporter:/data
    restart: unless-stopped

networks:
  default:
  monitoring:
    external: true
  proxy:
    external: true
If that helps, here's also my /srv/mqtt-blackbox-exporter/config.yaml
probes:
  - name: mqtt-broker
    broker_url: # REDACTED
    topic: internal/monitoring/mqtt-broker
    username: # REDACTED
    password: # REDACTED
    client_prefix: mqtt_blackbox_exporter.mqtt-broker
    messages: 10
    interval: 30s

Edit/fyi: Downgrading docker image to v0.7.0 works around the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants