rpi-icinga + nconf to configure icinga v1 via a GUI.(arm64/amd64, arm/v7) based on debian buster
50K+
Raspberry Pi-compatible Icinga + nconf Docker image. Includes msmtp for Email notifications.
Based on acch/rpi-icinga docker.
check project's github for more detailed information
docker run --rm \
-p 80:80 \
-v $(pwd)/etc:/etc/icinga \
-v cache:/var/cache/icinga \
-v $(pwd)/log:/var/log/icinga \
-e MYSQL_HOST=mysqlServerHostname
-e MYSQL_USER=user
-e MYSQL_PASSWORD=password
-e MYSQL_DATABASE=database
edgd1er/rpi-icinga-nconf
Run with docker-compose:
# docker-compose.yml
version: '3.1'
services:
icinga:
image: edgd1er/rpi-icinga-nconf:latest
restart: unless-stopped
ports:
- "8008:80"
volumes:
#- cache:/var/cache/icinga
#- :/var/log/icinga
- ${pwd}/etc/:/etc/icinga
env_file:
- envMysql
tmpfs:
- /var/log/icinga
- /var/cache/icinga
depends_on:
- nconf-mysql
nconf-mysql:
env_file:
- envMysql
image: mysql:5.7
restart: unless-stopped
expose:
- "3306"
This image exposes the following volumes:
/etc/icinga Icinga configuration files
/var/cache/icinga Icinga state retention and cache files
/var/log/icinga Icinga log files
This compose-file used as example set hereunder volumes in ram, that are lost when container is stopped
/var/cache/icinga Icinga state retention and cache files
/var/log/icinga Icinga log files
Icinga does not set any default password for the admin user. Run the following command to define a password for the admin user:
# htpasswd -c etc/htpasswd.users icingaadmin
Nconf needs a database to operate. database credentials (login, pwd, db name) are set in envMysql.
execute at first container's run
mysql -u$MYSQL_USER -p$MYSQL_PASSWORD -h$MYSQL_HOST -D$MYSQL_DATABASE -e /usr/share/icinga/create_database.sql
icinga: http://ip:port/icinga/
nconf: https://ip:port/nconf/
Copyright 2017 Achim Christ, released under the MIT license
Content type
Image
Digest
sha256:f79c7cb0f…
Size
170 MB
Last updated
4 months ago
docker pull edgd1er/rpi-icinga-nconf