/checkmk-arm

Check_mk as a docker container for Raspberry Pi/ARM7 based on chrisss404/check-mk-arm

Primary LanguageShell

Container for CheckMK on ARM 📦📊

Release GitHub release (latest by date)

Check_mk as a docker container for Raspberry Pi/ARM7

This dockerfile provides a runnable version of Check_mk for the ARM7 architecture, based on chrisss404/check-mk-arm.

The installed omd environment is called mon and will be published on port 5000

If you want to persist your configuration, make sure to provide a volume for /omd/sites

Run Container with Docker

sudo docker run -d --name checkmk -v /data/checkmk:/opt/omd/sites -p 5000:5000 -p 8000:8000 ghcr.io/meistergig/checkmk-arm:latest

Run Container with Docker-Compose

version: '3.3'
services:
    checkmk:
        container_name: checkmk
        restart: unless-stopped
        volumes:
            - '/data/checkmk:/opt/omd/sites'
        ports:
            - '5000:5000' # HTTP Port
            - '8000:8000' # Agent Reciever Port
        image: 'ghcr.io/meistergig/checkmk-arm:latest'

Change Password

To change the default password of the Admin User cmkadmin:

sudo docker exec -it checkmk /bin/su - mon
htpasswd etc/htpasswd cmkadmin

Upgrading an older version

Open a shell inside the checkmk container: sudo docker exec -it checkmk /bin/sh Run the upgrade script: upgrade.sh

Building

This need to be built in an ARM Environment.

Clone my repository: git clone https://github.com/MeisterGig/checkmk-arm.git

Build: sudo docker build --no-cache -t MeisterGig/checkmk-arm:[version] .

Credits

Thanks to: