Curses interface to Checkmk / Checkmk raw.
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
Checkmk Commander
Curses interface to Checkmk / Checkmk raw.
The goal is not to completly avoid the web interface, but to speed up common day-to-day tasks. Simple ack, downtime, reinventorize requires several clicks and mouse interaction. With this tool, it should be done in seconds.
Alpha quality, should not be used yet.
Screenshots



Installation
pip3 install -r requirements.txt
Hot-keys
Press ? in app to get an overview.
Implementation details and limitations
Uses CheckMK's web API. You need an "machine" account with a secret. A normal user won't work.
High pri features
- list service problems from several checkmk instances
- list (distributed monitoring) site statuses
- [v] ack service problems
- Show popup to add comment
- Parse time from comment
- ack service problems on all sites, not just main host
- ack host problems
- downtime service problems
- comment service problems
- show down hosts
- show service problem count
Medium pri features
- Reinventorize a host
- [v] Make actions async
- Add logging
Low pri features
- Ability to run remotely (without being on checkmk host)
- Reschedule check
- Add new host?
- Search in alert list
- Sort alert list
- Act on more than one alert at a time?
- if running locally, fetch secret from var/check_mk/web/USER/automation.secret
- Show in overview that comments on a service exists
TODO
- Installer
- Improve readability, colors.
- Clean up code.
- Find down time for down-alerts.
- Fetch host comments for down hosts.
- Status bar at bottom should perhaps be switched for a scrolling textview with "Host- and Service events"
Inspirations and help
- Icon made by RallyPointComic https://anus.no/
- https://github.com/aranair/rtscli/
- https://github.com/tskirvin/omdclient
- https://github.com/brennerm/check-mk-web-api
- https://forum.checkmk.com/t/writing-to-nagios-cmd-in-distributed-monitoring/17616
- https://checkmk.com/cms_legacy_multisite_automation.html
- https://manytools.org/hacker-tools/convert-image-to-ansi-art/go/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file checkmk-commander-0.8.0.tar.gz.
File metadata
- Download URL: checkmk-commander-0.8.0.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03ace8577712af3daff5038062cf69aa12af17a16784d61562c82a75a4df0e29
|
|
| MD5 |
ea620e166422af0f818cb4ba369997da
|
|
| BLAKE2b-256 |
18519183cf2693139f6ab4b79e1be1e4fbefc901665578bf2046e6b272ee1078
|
File details
Details for the file checkmk_commander-0.8.0-py3-none-any.whl.
File metadata
- Download URL: checkmk_commander-0.8.0-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a004afcaa68d993d7976f4a16d7c1cf40e011e543eb1f825506d47c135fb02c
|
|
| MD5 |
a2b9ce781f37a66b69534915590390c8
|
|
| BLAKE2b-256 |
6b426367bbb8138c425adbac79a25998e5ef8c7232986db1358432d537d23df0
|