Monitoring

Docker - Kuma Monitoring

Intro got a hint to try a nice monitoring tool. kuma. https://github.com/louislam/uptime-kuma pre-condition you have traefik running and a wildcard certificate for a domain. see the previous posts … .env we need few variables, edit the touch section appropriately cat << 'EOF' > .env # touch HOST="kuma" DOMAIN="your.domain" PORT=3001 # don't touch SERVICE="${HOST}" EOF docker-compose.yml … and the docker compose file … cat << 'EOF' > docker-compose.yml version: '3.3' networks: traefik: external: true services: uptime-kuma: image: louislam/uptime-kuma:1 container_name: uptime-kuma restart: always volumes: - .

Update Checkmk

how to update checkmk let’s assume you already have a running version of checkmk. You should install patches / updated every few month. Main and Download URL’s Main URL: https://checkmk.com/de/download?edition=cre&version=stable&dist=debian&os=bullseye https://download.checkmk.com/checkmk/1.6.0p20/check-mk-raw-1.6.0p20_0.bullseye_amd64.deb https://download.checkmk.com/checkmk/2.0.0p12/check-mk-raw-2.0.0p12_0.bullseye_amd64.deb Download and Install Package Login as Root v="2.0.0p25" cd /tmp wget -O checkmk.deb "https://download.checkmk.com/checkmk/${v}/check-mk-raw-${v}_0.bullseye_amd64.deb" gdebi checkmk.deb Update Checkmk Switch User … su - mysite .. Switch User and start Update omd status omd version omd stop omd update omd start Cleanup exit omd cleanup Check Application Open Browser, check News and Plugins

Checkmk

Some Install Notes https://checkmk.de/cms_install_packages_debian.html download and scp check-mk-enterprise-1.6.0p15.demo_0.buster_amd64.deb -> enterprise microkernel, 2 x 10 Hosts download and scp check-mk-raw-1.6.0p15_0.buster_amd64.deb -> raw edition, nagios kernel ssh root@localhost apt-get install dpkg-sig libnet-snmp-perl snmp wget https://checkmk.com/support/Check_MK-pubkey.gpg gpg --import Check_MK-pubkey.gpg dpkg-sig --verify /tmp/check-mk-enterprise-1.6.0p15.demo_0.buster_amd64.deb apt-get install gdebi-core gdebi /tmp/check-mk-raw-1.6.0p15_0.buster_amd64.deb omd version omd create mysite omd config oder omd restore /tmp/mysite.tar.gz Install v2.0 and migrate existing Config https://checkmk.de/cms_install_packages_debian.html download file: check-mk-raw-2.0.0p5_0.buster_amd64.deb scp check-mk-raw-2.0.0p5_0.buster_amd64.deb host227:/tmp/ Prepare New Host apt install -y dpkg-sig libnet-snmp-perl snmp wget https://checkmk.