Sign inSign up

spectado/mrtg

By spectado

•Updated over 1 year ago

Simple MRTG docker container

Image
0

361

spectado/mrtg repository overview

⁠SPECTADO/mrtg

⁠How to use

you will need a mrtg.cfg file (you can use cfgmaker)

The collected data goes to /mrtg_data in the container and you probably want to preserve it between restarts

⁠example of docker compose (with nginx to server the static files)

version: "3.9"
networks:
  default:
    name: "mrtg_network"
services:
  mrtg:
    image: spectado/mrtg
    deploy:
      mode: global
      placement:
        constraints: [node.labels.type == mrtg]
    volumes:
      - /mrtg/data:/mrtg_data
      - /mrtg/mrtg.cfg:/etc/mrtg.cfg
  nginx:
    image: "nginx"
    deploy:
      mode: global
      placement:
        constraints: [node.labels.type == mrtg]
    ports:
      - "80:80"
    volumes:
      - /mrtg/data:/usr/share/nginx/html

Tag summary

Content type

Image

Digest

sha256:3f784ea73…

Size

24.1 MB

Last updated

over 1 year ago

docker pull spectado/mrtg