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
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0p28 2.2.0b8 2.3.0b1
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed

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