Skip to main content

Easily Install Checkmk

Project description

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.

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.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cmk_dev_site-1.17.4.tar.gz (46.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cmk_dev_site-1.17.4-py3-none-any.whl (48.4 kB view details)

Uploaded Python 3

File details

Details for the file cmk_dev_site-1.17.4.tar.gz.

File metadata

  • Download URL: cmk_dev_site-1.17.4.tar.gz
  • Upload date:
  • Size: 46.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for cmk_dev_site-1.17.4.tar.gz
Algorithm Hash digest
SHA256 e8f1d6e27802afdfbcc2e5cd9f17b37cd98857911941c8fc5c75c4f5d97cf970
MD5 89c5a6614e7e0d18b32db8e937f92e15
BLAKE2b-256 0f4a000d25a7f26df33822341bd290f6485a32f5874c950595b6263ca00bf5f3

See more details on using hashes here.

File details

Details for the file cmk_dev_site-1.17.4-py3-none-any.whl.

File metadata

File hashes

Hashes for cmk_dev_site-1.17.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7a9654c70fb5f42d108857e6caeacc640608caec8e25526b07c0954a4e7f3f11
MD5 67c2b3108401d6ce4761fa65dc87ae93
BLAKE2b-256 75360bc01719f29ade28c5594a49df206080cde47a37fff0c762ae68080e6c46

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page