Scripts that can install, update and remove checkmk agent on windows and linux systems https://hostlab.tech/blog/install-update-and-remove-checkmk-agent
  • PowerShell 51.7%
  • Shell 48.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-04 11:39:51 +02:00
pictures initial commit 2026-08-04 11:39:51 +02:00
install-checkmk.ps1 initial commit 2026-08-04 11:39:51 +02:00
install-checkmk.sh initial commit 2026-08-04 11:39:51 +02:00
LICENSE Initial commit 2026-08-04 10:49:22 +02:00
README.md initial commit 2026-08-04 11:39:51 +02:00
uninstall-checkmk.ps1 initial commit 2026-08-04 11:39:51 +02:00
uninstall-checkmk.sh initial commit 2026-08-04 11:39:51 +02:00
update-checkmk.ps1 initial commit 2026-08-04 11:39:51 +02:00
update-checkmk.sh initial commit 2026-08-04 11:39:51 +02:00

checkmk-agent-scripts

Install, update and remove checkmk Agent on Windows or Linux with automated scripts. Furthermore these scripts are adding or removing the client-object in the checkmk-Server (via API calls).

Prerequisites

  1. No pending changes open in checkmk instance before running a script.
  2. Open web interface from checkmk server and log-in with admin account.
  3. Create a new User (if not already existent) with the following name: automation
  4. Asign the Role Administrator to the automation-User.

Linux

For all scripts please edit the following variuables:

After creating or downloading the script please make it executable:

chmod +x <SCRIPTNAME.sh>

Execute the script with root-rights:

sudo ./<SCRIPTNAME.sh>

All scripts are running ca. 3 minutes (do to some API calls.) !!!

Linux-Scripts

Windows

For all scripts please edit the following variuables:

After creating or downloading the script Execute it with administrator-rights:

powershell ./<SCRIPTNAME.ps1>

All scripts are running ca. 3 minutes (do to some API calls.) !!!

Windows-Scripts

LICENSE

All contents of this project are protected by the Apache License 2.0 LICENSE