Curses interface to Checkmk Raw.
Project description
Checkmk Commander
Efficient Curses interface for Checkmk Raw, https://checkmk.com/.
The goal is not to completely avoid the web interface, but to speed up common day-to-day tasks. Actions like acknowledge, downtime, reinventorize can be done in seconds, with keyboard only. Overview is clean and simple.
Beta quality. Can be used, but report bugs!
Project home: https://gitlab.com/larsfp/checkmk-commander
Screenshots
Installation
From PIP:
pip3 install checkmk-commander
Run command: chkcom
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
- 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
Medium pri features
- list (distributed monitoring) site statuses
- Reinventorize a host
- Make actions async
- Add logging
- show service problem count
Low pri features
- Ability to run remotely (without being on checkmk host)
- Reschedule check
- Add new host?
- Search in alert list
- Search in all host/services
- 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
- List event notifications
- List hosts/services in downtime
TODO
- 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"
- Icon, desktop integration. https://pypi.org/project/install-freedesktop/
- I can only assume syslog is os dependent.
- Write unit tests
Development
Tests can be run with tox
.
Inspirations and help
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
checkmk-commander-0.8.6.tar.gz
(65.6 kB
view hashes)
Built Distributions
checkmk_commander-0.8.6-py3.7.egg
(89.2 kB
view hashes)
Close
Hashes for checkmk_commander-0.8.6-py3.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86f82a931da48c7c80f1192d4248b97d9ba69fa093e4934042372c3b677d9da0 |
|
MD5 | 1e884d3aca39165a0560ba0d703fb7e1 |
|
BLAKE2b-256 | 06e83734c13781266f43299c9dab7db24bfea66c397b95fe1a260d99910eecfa |
Close
Hashes for checkmk_commander-0.8.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8c4d14b401e92cda964fff3561c2f1ccc2a63cbbbe25280cc4d53e89907dc8a |
|
MD5 | 1d6bfbd5b3dcc07b5365e8cc3038711e |
|
BLAKE2b-256 | a28c63bedd0f0fafdb3c39a8559a80f0a374b7822ee8e312e1609413637118f7 |