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.
Via Docker Compose:
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"
stop_grace_period: 1m
Via Docker CLI:
docker run -it --rm -p 80:80 -e "NODES=node1:10.0.0.101 node2:10.0.0.102" --stop-timeout 60 dockurr/munin
Access the container at http://host/munin/
Special thanks to @aheimsbakk.