Skip to content

wglanzer/icinga2satellite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icinga2satellite

Docker Automated buil

This image represents a preconfigured satellite for icinga2.
It connects to a single icinga2 master. Multi-endpoints are not supported yet!

Setup

  1. Create your container using compose (preferred)
  2. Setup your services in services.conf (good to know: NodeName="$NODE_NAME")
  3. Reload and restart your MASTER with icinga2 node update-config && service icinga2 restart
  4. If you got problems (like [FAIL] checking Icinga2 configuration. Check '/var/log/icinga2/startup.log' for details. ... failed!), try the following things (BE CAREFUL!):
    1. rm -r /etc/icinga2/repository.d/
    2. icinga2 node remove [nodename]

Environment variables Reference

Name Description
NODE_NAME Name of this node. It should be the FQDN of your container
NODE_ZONE (optional) Zone which this node belongs to (default: $NODE_NAME)
MASTER_HOST Adress of your Master-Host
MASTER_PORT (optional) Port of your Master-Host (default: 5665)
PKI_TICKET Request ticket generated on the MASTER_HOST-Server (icinga2 pki ticket --cn $NODE_NAME)

Docker-Compose

satellite:
  image: cybroken/icinga2satellite
  volumes:
    - ./run/services.conf:/etc/icinga2/conf.d/services.conf
  environment:
    NODE_NAME: "testcontainer"
    MASTER_HOST: "master.example.com"
    PKI_TICKET: "abcdefghijkd48a1f996d6e36c3183407da197c2" 

About

Preconfigured icinga2 satellite docker image

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages