Install checkmk Docker
Zur Navigation springen
Zur Suche springen
Verzeichnisse anlegen
- mkdir -p docker/checkmk
- cd docker/checkmk
- mkdir -p omd-sites
Docker Compose File
- nano docker-compose.yml
services:
checkmk:
image: checkmk/check-mk-raw:2.3.0-latest
container_name: checkmk
restart: always
tmpfs:
- /opt/omd/sites/cmk/tmp:uid=1000,gid=1000
ulimits:
nofile: 49152
volumes:
- /etc/localtime:/etc/localtime:ro
- ./omd-sites:/omd/sites
ports:
- "8095:5000"
- "6557:6557"
Starten manuell
- docker compose up -d
Stoppen manuell
- docker compose down
Passwort checken
- docker container logs checkmk
Created new site cmk with version 2.3.0.cre.
The site can be started with omd start cmk. The default web UI is available at http://<container_id>/cmk/
The admin user for the web applications is cmkadmin with password: <zufälliges_passwort> For command line administration of the site, log in with 'omd su cmk'. After logging in, you can change the password for cmkadmin with 'htpasswd etc/htpasswd cmkadmin'.
cmkadmin Passwort setzen
- docker exec -it checkmk /bin/bash
- su - cmk
- OMD[cmk]:~$ cmk-passwd cmkadmin
- exit