Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wglanzer/icinga2satellite
Preconfigured icinga2 satellite docker image
https://github.com/wglanzer/icinga2satellite
docker-compose docker-image icinga2
Last synced: about 2 months ago
JSON representation
Preconfigured icinga2 satellite docker image
- Host: GitHub
- URL: https://github.com/wglanzer/icinga2satellite
- Owner: wglanzer
- License: mit
- Created: 2017-03-19T17:44:56.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-22T18:06:42.000Z (almost 8 years ago)
- Last Synced: 2023-07-27T20:50:04.155Z (over 1 year ago)
- Topics: docker-compose, docker-image, icinga2
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# icinga2satellite
[![Docker Automated buil](https://img.shields.io/docker/automated/jrottenberg/ffmpeg.svg)](https://hub.docker.com/r/cybroken/icinga2satellite/)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
```yml
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"
```