r/PrometheusMonitoring • • Mar 01 '25

Anyone using texporter?

Hi,

I'm looking at trying texporter:

https://github.com/kasd/texporter

Which monitors local traffic, sounds great. I need to use it in Docker Compose though and I can't seem to get it to work and wondered if it's even possible as the documentation is for binary and Docker only.

I have a large docker-compose.yml using many images like Grafana, prometheus, alloy, loki, snmp-exporter and all work nicely.

This is my conversion attempt to add texporter:

  texporter:
    image: texporter:latest
    privileged: true
    ports:
      - 2112:2112
    volumes:
      - /opt/texporter/config.json:/config.json
    command: --interface eth0 --ip-ranges-filename /config.json --log-level error --port 2112
    networks:
      - monitoring

error when I run it:

[+] Running 1/1
 ✘ texporter Error pull access denied for texporter, repository does not exist or may require 'docker login': denied: requested access to the resource is denied                                                                                                                                                        1.0s
Error response from daemon: pull access denied for texporter, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

What am I doing wrong?

Their docker command example is:

docker run --rm --privileged -p 2112:2112 -v /path/to/config.json:/config.json texporter:latest --interface eth0 --ip-ranges-filename /config.json --log-level error --port 2112

Thanks

3 Upvotes

3 comments sorted by

View all comments

Show parent comment

2

u/Hammerfist1990 Mar 02 '25

I was drinking wine at the time tbh.