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, sites, hosts with faked services, users, rules, BI. Undoes itself unless told
otherwise. --enroll writes 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.
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.
Release files for cmk-werk-zeug 0.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cmk_werk_zeug-0.4.4.tar.gz | 329.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cmk_werk_zeug-0.4.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 525.9 kB
Release files / cmk_werk_zeug-0.4.4.tar.gz
| Download URL | cmk_werk_zeug-0.4.4.tar.gz |
|---|---|
| Size | 329.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af8837ec00d02fe7553b31b4baa7648a238279635a84be554591d10a60cdb6f1
|
|
BLAKE2b-256 checksum How to use checksums |
b994d0e5fb392d970af7cc257c46431672c059a5b1035ace1323e8dbfc962717
|
| 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.4-py3-none-any.whl
| Download URL | cmk_werk_zeug-0.4.4-py3-none-any.whl |
|---|---|
| Size | 196.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06cf0587ed4a87500eddc7e93917b1090d99a19db3b92248d0b4c6a18ffe2529
|
|
BLAKE2b-256 checksum How to use checksums |
c7b20337c0640ca0ea81aa90586b340479edd2f20ef8847e30650c6700cb7f4b
|
| 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}
|