Werk #14096: cmk: fail on some previously ignored command line options

Component Checks & agents
Title <tt>cmk</tt>: fail on some previously ignored command line options
Date May 29, 2022
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.2.0i1
Level Trivial Change
Class New Feature
Compatibility Incompatible - Manual interaction might be required

The command line flags --cache, --no-cache, --no-tcp and --usewalk only have an effect to commands that involve fetching data from a monitored host. They had no effect on all other commands, and now cause those commands to fail.

The mentioned flags are now only allowed for the following cmk modes:

  • --check (the default)
  • -d / --dump-agent
  • --discover-marked-hosts
  • --check-discovery
  • -I / --discover
  • -i / --inventory
  • --inventory-as-check

To the list of all Werks