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 Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b8 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p28 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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