Skip to main content

cmk-dev-site

Easy Install Checkmk

Scripts to install bleeding edge Checkmk in development context.

If you are a regular Checkmk customer you probably don't want to use this, as this tools remove sites without warning.

Installation

sudo apt install pipx
pipx ensurepath
# check output of this command. you might have to open a fresh terminal!
pipx install cmk-dev-site

For updating you can use:

pipx upgrade cmk-dev-site

Usage

cmk-dev-install-site 2.5 # download package, install, create site for 2.5

# Download and install latest available daily build of 2.5.0
cmk-dev-install 2.5 && cmk-dev-site
# (will fall back to the daily builds of yesterday)

# Download daily build of today and
# setup distributed monitoring with one two sites:
cmk-dev-install 2.5.0-daily && cmk-dev-site -d 1

# Download and install raw edition package
cmk-dev-install --edition=cre 2.5.0-daily

# Install a local .deb file instead of downloading
cmk-dev-install -p ./check-mk-enterprise-2.4.0p9_0.noble_amd64.deb

cmk-dev-install-site

Is a shortcut for the more verbose cmk-dev-install and cmk-dev-site commands. This way you lose some of the possibilities, but only have to remember one command. Also prints out the commands that it will execute, so you can c&p it.

This shortcut does not forward --omd-configs, so opting out of the MCP server or of the usage-data forwarding (see cmk-dev-site below) requires calling cmk-dev-site directly.

cmk-dev-install

Will download the requested package of Checkmk and install said package.

You might request a daily build (cmk-dev-install 2.5.0-daily), the latest available daily build (handy if there are no daily builds of today) (cmk-dev-install 2.5), or an officially release Checkmk version (cmk-dev-install 2.4.0p9).

Please check the built in help (cmk-dev-install --help) for all options!

cmk-dev-site

Will create a site, install the checkmk agent, and add a single host to the site.

cmk-dev-site uses omd commands and the official REST-API to create one or multiple sites based on the current default omd version (or the version specified on the command line).

You might use -d 1 to create a distributed monitoring with one distributed site.

Where the installed version ships the hooks (currently Checkmk 3.0.0+, every edition except community), the site is created with the MCP server enabled at http://localhost/<site>/check_mk/mcp, and with MCP_TRACE_FORWARD=on, which forwards MCP usage data to Checkmk. Opt out with --omd-configs MCP_SERVER=off or --omd-configs MCP_TRACE_FORWARD=off.

Please check the built in help (cmk-dev-site --help) for all options!

Cleanup

Currently there is no public available tool to completely cleanup sites and packages create with the presented tools. If you are a Checkmk developer you might make use of the internal tool omd-hauweg, otherwise you have to manually remove the sites using omd rm. For uninstall packages that are no longer in use you can use omd cleanup, or you might fall back to use apt purge.

Contributing

If you'd like to make contributions to the tool, check out our development documentation. Here you'll see steps on how to setup your environment for local development.

Metadata

Release files for cmk-dev-site 1.20.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cmk-dev-site 1.20.0
File Size Uploaded
cmk_dev_site-1.20.0.tar.gz 49.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cmk-dev-site 1.20.0
File Interpreter ABI Platform
cmk_dev_site-1.20.0-py3-none-any.whl Python 3 none any Details

Total release size: 99.2 kB

Release files / cmk_dev_site-1.20.0.tar.gz

Download URL cmk_dev_site-1.20.0.tar.gz
Size 49.8 kB
Tags Source
SHA-256 checksum
How to use checksums
95878d6e23dabefed966c660c9ddc92e74b9268445968c45b46293f45735db19
BLAKE2b-256 checksum
How to use checksums
462ef2e79049070e8ed49d8e3f98730994ddaea8745aa8a115398f7df80a90aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.13

Release files / cmk_dev_site-1.20.0-py3-none-any.whl

Download URL cmk_dev_site-1.20.0-py3-none-any.whl
Size 49.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf3fa962488f19458e6de49a242a133987be1c14e7d27344d631bff58035969a
BLAKE2b-256 checksum
How to use checksums
dd4855d4711209f3c40007c475c5178f3b76ee815dd427a40397b97baee1aa86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.13

Release history Release notifications | RSS feed

This release

1.20.0 This release

2 release files

1.19.0

2 release files

1.18.0

2 release files

1.17.5

2 release files

1.17.4

2 release files

1.17.3

2 release files

1.17.2

2 release files

1.17.1

2 release files

1.17.0

2 release files

1.15.2

2 release files

1.15.0

2 release files

1.14.2

2 release files

1.14.0

2 release files

1.13.0

2 release files

1.12.2

2 release files

1.12.0

2 release files

1.11.3

2 release files

1.11.2

2 release files

1.11.1

2 release files

1.11.0

2 release files

1.10.1

2 release files

1.10.0

2 release files

1.9.1

2 release files

1.8.0

2 release files

1.7.0

2 release files

1.6.5

2 release files

1.6.4

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page