2.7 KiB
2.7 KiB
Full Icinga2 stack with Grafana
: Icinga
: IcingaWeb2
: icinga-satellite (optional)
what is this
This is a auto setup Icinga stack, means:
-
- as IcingaWeb2
- with Icinga DB Web
- with Grafana
- with OIDC / OAuth
- MariaDB (Config DB)
- as IcingaWeb2
-
AO-IT: icinga-satellite (optional, not in this repo)
required
- basic know how of icinga
- for monitoring config it self not for setup
usage
git clone https://git.ao-it.net/docker/icinga-stack
cd icinga-stack
mv env.sample .env
# MUST SET: GRAFANA_HOST
# HIGH RECOMMEND TO CHANGE:
# - API_ROOT_PASS
# - ICINGA_API_ICINGAWEB_PASS
nano .env # set your env
docker compose up
Access IcingaWeb on port http://your-ip:8080
- Intial basic checks should be visible.
- All Database connections should work.
- If you can access the $GRAFANA_HOST address you should see graphs as well.
- maybe need a few min until first checks a done.
To change icinga2 config:
Go in your file system and change them.
Than you can run:
docker exec icinga-stack-icinga2-1 icinga2 daemon -C -X
docker exec icinga-stack-icinga2-1 /usr/lib/icinga2/safe-reload /etc/default/icinga2
To check and reload them for activate the new icinga2 config.
env
For detailed information of environment variables check the original repos (above)