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

Komponente Checks & agents
Titel cmk: fail on some previously ignored command line options
Datum 29.05.2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.2.0b1
Level Kleine Änderung
Klasse Neues Feature
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein

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

Zur Liste aller Werks