Skip to content

Install, update and remove checkmk Agent on Windows or Linux with automated scripts

Notifications You must be signed in to change notification settings

SuitDeer/checkmk-agent-script

Repository files navigation

checkmk-agent-script

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.

    automation user


Linux

  1. For all scripts please edit the following variuables:

  2. After creating or downloading the script please make it executable:

    chmod +x <SCRIPTNAME.sh>
  3. Execute the script with root-rights:

    sudo ./<SCRIPTNAME.sh>

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


Windows

  1. For all scripts please edit the following variuables:

  2. Execute the script with administrator-rights:

    powershell ./<SCRIPTNAME.ps1>

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


About

Install, update and remove checkmk Agent on Windows or Linux with automated scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published