Container image for a Munin master server, optimized for a large number of nodes in an effective manner.
-
rrdcached
is used to be able to handle a large number of nodes. -
fcgi
is used for generation of graphs on demand and not cron.
services:
munin:
image: dockurr/munin
container_name: munin
environment:
TZ: "Europe/Berlin"
NODES: "node1:10.0.0.101 node2:10.0.0.102"
ports:
- 80:80
volumes:
- ./munin/lib:/var/lib/munin
- ./munin/log:/var/log/munin
- ./munin/conf:/etc/munin/munin-conf.d
- ./munin/plugin:/etc/munin/plugin-conf.d
restart: always
stop_grace_period: 1m
docker run -it --rm --name munin -p 80:80 -e "NODES=node1:10.0.0.101 node2:10.0.0.102" --stop-timeout 60 dockurr/munin
Special thanks to @aheimsbakk.