Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #14200: Improved performance for some automation and command line calls

Component Configuration generation
Title Improved performance for some automation and command line calls
Date May 10, 2023
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.2.0b8 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0p28 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

Commands requiring rule evaluation generally considered all hosts instead of focusing only on the individual hosts in question. Depending on your configuration, the following commands might run faster now, since they no longer evaluate thousands of irrelevant hosts.

GUI

  • Service discovery
  • Service discovery, waiting for active check result
  • Computing service labels (internal mechanism)
  • Effective parameters of host/service
  • Host Diagnose via setup

Command Line

  • cmk -d {hostname}
  • cmk -D {hostname}
  • cmk --check-discovery {hostname}
  • cmk -I {hostname}
  • cmk {hostname} (standard checking)
  • cmk -i {hostname}
  • cmk --inventory-as-check {hostname} (command used by generic check helpers)

To the list of all Werks