Skip to main content

CWZ - CMK-Werk-Zeug

Tools for Checkmk development. Some solid, some rough, some experimental.

Tools

cmk-components - who owns what in check_mk, straight from Gerrit's code-owners plugin. TUI by default. list, info, owners PATH, me and friends for scripts.

update-gerrit-changes - a table of your local commits against their Gerrit changes: in sync, behind, diverged, not pushed. Read-only.

cmk-infect - hardlink your changed Python files into an installed OMD version. Zero-second deploy. Python only, rough edges.

cmk-up (alias cmk-setup) - build a Checkmk setup from a YAML playbook: versions (pinned, or the newest daily since a date), sites with remotes, hosts with faked or real services, users, roles, rules, BI, host relations. Reverts itself unless told otherwise. Playbooks combine: several on the command line, include: in the file, disabled: true to leave a part out, - for stdin. --init writes a starter, --enroll a playbook from an existing machine or a crash report. cmk-up 01-minimal runs a shipped example.

cmk-check-plugins - run check plugins against recorded SNMP walks and agent outputs. Proof of concept. Needs a check_mk Python environment.

ci-build-metrics - fetch finished Jenkins builds, match failures against known issues, export to PostgreSQL. Sheriff tooling, built for one user.

worklog-from-fs (alias forgot-to-track-time-again) - guess your daily activity from file modification times.

gmine - a Textual TUI for your Gerrit changes: list, diff, comment, vote, trigger CI, rebase. GMINE_FAKE=1 gmine runs it on sample data.

devboard is installed too: an experimental Gerrit/Jira dashboard TUI. Undocumented.

Gerrit and Jenkins credentials work the same for all tools: doc/credentials.md.

Install

Use without installation:

uvx --from cmk-werk-zeug cmk-up <CMD>

Easy pipx based installation:

pipx install cmk-werk-zeug

Development setup:

git clone ssh://review.lan.tribe29.com:29418/cmk-werk-zeug
cd cmk-werk-zeug && uv sync
uv run <CMD>
uv tool install --editable .
ci/run-change-validation.sh   # what CI runs: lock check, pre-commit, unit tests

ci-build-metrics export needs a local PostgreSQL (sudo apt install postgresql). Setup in doc/ci-build-metrics.md.

Metadata

Release files for cmk-werk-zeug 0.4.9

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-werk-zeug 0.4.9
File Size Uploaded
cmk_werk_zeug-0.4.9.tar.gz 716.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cmk-werk-zeug 0.4.9
File Interpreter ABI Platform
cmk_werk_zeug-0.4.9-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / cmk_werk_zeug-0.4.9.tar.gz

Download URL cmk_werk_zeug-0.4.9.tar.gz
Size 716.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2892f3af404be4cefb4b5b3fbe390d05b1811a841b5ca5a3e9722a06980e2dc3
BLAKE2b-256 checksum
How to use checksums
ed5076a411288ac2bdeaadf8f82e23b1dc728093a41a7ff6666da125d176423d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / cmk_werk_zeug-0.4.9-py3-none-any.whl

Download URL cmk_werk_zeug-0.4.9-py3-none-any.whl
Size 447.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5b09e4d3ddd0ea1de508886a2456a862271f53d47d508654a0f81a1dea3f906
BLAKE2b-256 checksum
How to use checksums
2464741f04b6e359f00da0ff998ef18be0151c038b883c7e61ac5cb41ba96973
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.4.9 This release

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

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.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

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