Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.03 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.03 KB

z21_exporter

Prometheus exporter for the digital command center z21/Z21 from Roco/Fleischmann.

Install

Get the linux arm image from dockerhub.

Use the following command to run the container on an arm based linux machine:

docker run -d -p 9101:9101 --name z21_exporter --restart=always jakobeichberger/z21exporter:latest

Or use it in a docker-compose file:

  z21_exporter:
    image: jakobeichberger/z21exporter:latest
    container_name: z21_exporter
    expose:
      - 9101
    restart: always

Sample prometheus config

  - job_name: 'z21_exporter'
    static_configs:
      - targets: ['z21_exporter:9101']

Grafana dashboard

Get the grafana dashboard from here. To install select Dashboards -> Install and paste the JSON into the Import via panel json textbox. image