Giter VIP home page Giter VIP logo

docker-icinga2's Introduction

Icinga2 Docker Image

Image Size Docker Stars Docker Pulls Docker Automated buil GitHub tag

  • CentOS based
  • Automated Database initialization and update
  • Waits at least 60 seconds for database to come up
  • Auto populate config (if volume is empty)
  • Monitoring plugins included
  • Some additional helper scripts and plugins included
  • Functional Bash included
  • Requires MySQL/MariaDB
  • Docker-Healthcheck support

Exposed Volume: /icinga2: Contains all persistent data like config, ssh-key, cmd-pipe.
Exposed Port: 5665: Icinga2 API Port

Supported tags

  • Exact: i.e. 2.10.4-r1: Icinga2 Version 2.10.4, image build 1
  • 2.10: Icinga2 Version 2.10.x, latest image build
  • See Tags for all available versions.

Example

See docker-compose.yml: Icinga2 stack with UI and Graphing (TODO)

# Set container hostname to get correct API Cert DN
sudo docker run \
  --rm -t \
  --name icinga2 \
  --hostname icinga2 \
  --link mysql \
  -v $PWD/_data:/icinga2 \
  -p 5665:5665 \
  -e TIMEZONE=Europe/Berlin \
  -e ICINGA_API_PASS=damn-secret \
  psitrax/icinga2
sudo docker exec -ti icinga2 bash

Configuration with env vars

ENV-Var default description
TIMEZONE UTC Timezone
MYSQL_AUTOCONF true Enable MySQL auto configuration
MYSQL_HOST mysql MySQL hostname
MYSQL_PORT mysql MySQL Port
MYSQL_DB icinga2 Database name
MYSQL_USER root User
MYSQL_PASS root Password
ICINGA_API_PASS Password for icingaweb2 API user
ICINGA_FEATURES command ido-mysql Space separated list of Icinga Feature-Modules
ICINGA_LOGLEVEL warning Log level

Maintainer

docker-icinga2's People

Contributors

psi-4ward avatar

Watchers

 avatar

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.