fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


monitoring:checkmk

Table of Contents

Checkmk

Server

docker-compose.yml
---
services:
  checkmk-server:
    image: checkmk/check-mk-cloud:2.4.0p36
    container_name: checkmk-server
    restart: unless-stopped
    environment:
      - "TZ=Europe/Berlin"
      - "CMK_SITE_ID=grunwaldsystems"
    labels:
      - "traefik.enable=true"
      - "traefik.docker.network=traefik-prod"
      - "traefik.http.services.checkmk-server.loadbalancer.server.port=5000"
      - "traefik.http.routers.checkmk-server.rule=Host(`check.grunwald.systems`)"
      - "traefik.http.routers.checkmk-server.entrypoints=websecure"
      - "traefik.http.routers.checkmk-server.tls.certresolver=letsencrypt"
    tmpfs:
      - /opt/omd/sites/grunwaldsystems/tmp:uid=1000,gid=1000
    volumes:
      - ./app/data/sites:/omd/sites
    networks:
      - traefik-prod
 
networks:
  traefik-prod:
    external: true

Client

wget https://check.grunwald.systems/grunwaldsystems/check_mk/agents/check-mk-agent_2.5.0p13-1_all.deb
sudo apt install ./check-mk-agent_2.5.0p13-1_all.deb
rpm -U https://check.grunwald.systems/grunwaldsystems/check_mk/agents/check-mk-agent_2.5.0p13-1.noarch.rpm
cmk-agent-ctl register \
             --hostname mynewhost \
             --server check.grunwald.systems \
             --site grunwaldsystems \
             --user agent_registration \
             --password 'PTEGDYXBFXVGNDPRL'
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.  More information about cookies 
monitoring/checkmk.txt · Last modified: by gsys