Docker container for icinga web2. This container includes, configures and enables modules "monitoring" and "graphite".
It also includes LDAP authentication and group assignment to icingaweb2 roles/permissions. At the moment, the group are fixed to:
Additionally, a command transport to a Icinga2 host is established via Icinga2 API. Please make sure you have set up an API user on the Icinga2 host in your api-users.conf.
This container only works with a MySQL/MariaDB backend.
Please set all these environment variables, otherwise the docker container will not work correctly.
Save this as docker-compise.yml and run:
docker-compose up
---
web:
image: mimacomops/icingaweb2
ports:
- 8080:80
links:
- db
environment:
USER_NAME_ATTRIBUTE: sAMAccountName
BASE_DN: OU=users,DC=example,DC=invalid
LDAP_DOMAIN: example.invalid
LDAP_PORT: 389
LDAP_ROOT_DN: DC=example,DC=invalid
LDAP_BIND_DN: CN=binduser,OU=users,DC=example,DC=invalid
LDAP_BIND_PW: someRandomBindPassword
ICINGA_IDO_HOST: my-mysql-server.example.invalid
ICINGA_IDO_PORT: 3306
ICINGA_IDO_DBNAME: icinga
ICINGA_IDO_USERNAME: icinga
ICINGA_IDO_PASSWORD: someRandomMysqlPassword
DIRECTOR_IDO_HOST: my-mysql-server.example.invalid
DIRECTOR_IDO_PORT: 3306
DIRECTOR_IDO_DBNAME: director
DIRECTOR_IDO_USERNAME: director
DIRECTOR_IDO_PASSWORD: someRandomMysqlPassword
API_HOST: my-icinga2-host.example.invalid
API_PORT: 5665
API_USERNAME: root
API_PASSWORD: someRandomApiPassword
GRAPHITE_METRIC_PREFIX: icinga
GRAPHITE_BASE_URL: https://graphite.example.invalid/render?
Make sure you have set up your Icinga2 nodes correctly in order to use Icinga Director. See https://github.com/Icinga/icingaweb2-module-director/blob/master/doc/04-Getting-started.md
Content type
Image
Digest
Size
248.8 MB
Last updated
over 8 years ago
docker pull mimacom/icingaweb2