๐Ÿ“ฆ dockur / munin

Munin in a Docker container.

โ˜… 39 stars โ‘‚ 10 forks ๐Ÿ‘ 39 watching โš–๏ธ MIT License
monitoringmonitoring-automationmuninmunin-dockermunin-graphsmunin-monitoringmunin-node
๐Ÿ“ฅ Clone https://github.com/dockur/munin.git
HTTPS git clone https://github.com/dockur/munin.git
SSH git clone git@github.com:dockur/munin.git
CLI gh repo clone dockur/munin
dependabot[bot] dependabot[bot] build(deps): bump actions/checkout from 5 to 6 (#36) 3ec3304 16 days ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ .devcontainer
๐Ÿ“ .github
๐Ÿ“„ .dockerignore
๐Ÿ“„ compose.yml
๐Ÿ“„ default.conf
๐Ÿ“„ docker-cmd.sh
๐Ÿ“„ Dockerfile
๐Ÿ“„ license.md
๐Ÿ“„ munin
๐Ÿ“„ munin.conf
๐Ÿ“„ nginx.conf
๐Ÿ“„ README.md
๐Ÿ“„ README.md

munin-alpine

Container image for Munin server optimized for a large number of hosts in an effective manner.

  • rrdcached is used to be able to handle a large number of hosts
  • fcgi is used for generation of graphs on demand and not cron
Inspired from build-failures docker-munin-server.

Tags

Environment variables

  • NODES
Format [group1;]node1:ip1[:port1] [group2;]node2:ip2[:port2]...

  • SNMP_NODES
Format [group1;]node1:commutiy1: [group2;]node2:community2:...

Check SNMP units directly from the container. Defaults to SNMP version 2c.

  • TZ
Time zone. Defaults to UTC.

Exposed ports

  • 80

Volumes

For persistense.

  • /etc/munin/munin-conf.d/
Configuration files included on runtime. The files nodes.conf and snmp-nodes.conf are generated by this container.

  • /etc/munin/plugin-conf.d/
Configuration files for plugins. The file snmp_communities is generated by this container, but custom changes will not be overwritten.

  • /var/lib/munin/
All RRD files and temporary files.

  • /var/log/munin/
Log files.

How to use this container

docker run -d \
  -v /etc/munin/munin-conf.d:/etc/munin/munin-conf.d \
  -v /etc/munin/plugin-conf.d:/etc/munin/plugin-conf.d \
  -v /var/lib/munin:/var/lib/munin \
  -v /var/log/munin:/var/log/munin \
  -e NODES="server1:10.0.0.2 server2:10.1.0.2" \
  -e SNMP_NODES="routers;10.0.0.1:mycommunity routers;10.1.0.1:mycommunity" \
  -p 80:80 \
  --name munin-server \
  aheimsbakk/munin-alpine

Access container at http://host/munin/