Giter VIP home page Giter VIP logo

munin-server's Introduction

munin-server

Multi architecture container image for Munin server using official Alpine image.

  • 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. Forked from aheimsbakk/munin

Docker Pulls GitHub Workflow Status Docker Image Size (tag)

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 smtp-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 \
  kdcio/munin-server

Using docker-compose.yml

version: '2.4'

services:
  munin:
    image: kdcio/munin-server
    volumes:
      - /etc/munin/munin/munin-conf.d:/etc/munin/munin-conf.d 
      - /etc/munin/munin/plugin-conf.d:/etc/munin/plugin-conf.d
      - /var/lib/munin:/var/lib/munin 
      - /var/log/munin:/var/log/munin
    environment: 
      NODES: routers;10.0.0.1:mycommunity routers;10.1.0.1:mycommunity
    ports:
      - 80:80

Access container at http://host/munin/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.