Werk #14096: cmk: fail on some previously ignored command line options
| Component | Checks & agents | ||
| Title | cmk: fail on some previously ignored command line options | ||
| Date | May 29, 2022 | ||
| Level | Trivial Change | ||
| Class | New Feature | ||
| Compatibility | Incompatible - Manual interaction might be required | ||
| Checkmk versions & editions |
|
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