Server Side for Icinga2 (also named master)
1.1K
This guide will help you to install Icinga2 with the server side (backend or master), the database and the web (frontend) side. Official website and documentation available on https://www.icinga.com/.
Icinga2 image is prepared to be used with PostGreSQL server. You can use the following command to install this kind of database.
docker run -d -e POSTGRES_USER=icinga2 -e POSTGRES_PASSWORD=icinga2 --name db postgres
This command will populate automatically the database. This docker is not persistent and will be stopped once database is configured.
docker run -d --link db:db obitwo/icinga2-database
Now you can start the server side. After running this command, the server will immediately start the checks. You can then adjust the configuration files in your volume.
docker run -v /path-cfg/:/etc/icinga2 -d --link db:db --name icinga2-server icinga2-server
Finally, you can start the web frontend in order to have the status of your check.
docker run docker run -d --link db:db -p 4000:80 --name icinga2-web icinga2-web
Then open your browser and open the page http://localhost:4000/icingaweb2. You will need to setup a setup token in order to follow the configuration wizard.
docker exec icinga2-web icingacli setup token create
Content type
Image
Digest
Size
194.5 MB
Last updated
almost 9 years ago
docker pull obitwo/icinga2-server