Skip to main content

CheckMK

https://docs.checkmk.com/latest/en/introduction_docker.html 

name: <your project name>
services:
    check-mk-raw:
        container_name: monitoring
        restart: always
        image: checkmk/check-mk-raw:2.3.0-latest
        #? stdin_open: true
        #? tty: true
        ports:
            - 8080:5000
            - 8000:8000
        tmpfs: /opt/omd/sites/cmk/tmp:uid=1000,gid=1000
        volumes:
            - monitoring:/omd/sites
            - /etc/localtime:/etc/localtime:ro

volumes:
    monitoring:
        external: true
        name: monitoring

:8080 öffnen
"You will find the provisional password for the cmkadmin account in the logs that are written for this container"

altes Heimnetz:

version: '3.1'
services:
  controll:
    image: checkmk/check-mk-raw:latest
    tmpfs:
     - /opt/omd/sites/cmk/tmp:uid=1000,gid=1000
    ulimits:
      nofile: 1024
    container_name: checkmk
    restart: unless-stopped
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - monitoring:/omd/sites
    ports:
      - 8095:5000
      - 6557:6557

volumes:
  monitoring:
  

https://gist.github.com/FlorianHeigl/72dadde0e4f9fa4b8c1bcfc5c9e41b0f

---
version: '3'
services:
   checkmk:
     image: checkmk/check-mk-raw:2.0.0-latest
     ports:
       - "162:162/udp"
       - "514:514/udp"
       - "514:514/tcp"
       - "6557:6557/tcp"
       - "8080:5000/tcp"
     environment:
       - MAIL_RELAY_HOST=mailrelay.example.com
       - CMK_SITE_ID=cmknew
       - CMK_PASSWORD=XXX
       - CMK_LIVESTATUS_TCP=on
     volumes:
       - /etc/localtime:/etc/localtime:ro
       - cmknew:/omd/sites

volumes:
  cmknew: