Skip to main content

Curses interface to Checkmk Raw.

Project description

Check Commander

Checkmk Commander, or Check Commander, efficient Curses interface for Checkmk, https://checkmk.com/.

Logo

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. Report bugs! Some features may behave weirdly, but won't eat your data.

Project home: https://gitlab.com/larsfp/checkmk-commander

Screenshots

Acknowledge and help v.8

Details v.6

Overview v.3

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)
  • [v] Reschedule check
  • Add new host
  • Search in alert list
  • Search in all host/services (to i.e. run a reinventorize before anything complains)
  • Sort alert list
  • Show number of comments on services in overview
  • List event notifications
  • List hosts/services in downtime
  • More list options, like remove numbering, wrap/clip columns.

TODO

  • Improve readability, colors.
  • 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.
  • I can only assume syslog is os dependent.
  • Write more unit tests
  • Change URLs to be an object for testing and safer handling.

Development

Tests can be run with tox.

Inspirations and help

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

checkmk-commander-0.8.11.tar.gz (67.0 kB view hashes)

Uploaded Source

Built Distribution

checkmk_commander-0.8.11-py3-none-any.whl (84.5 kB view hashes)

Uploaded Python 3

Supported by

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