Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 3ea414720a926c697203bac7b4f283cc637f619f
https://github.com/tribe29/checkmk/commit/3ea414720a926c697203bac7b4f283cc6…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-11-12 (Thu, 12 Nov 2020)
Changed paths:
M cmk/base/checking.py
M cmk/base/discovery.py
M cmk/base/inventory.py
M cmk/base/modes/check_mk.py
M tests/unit/cmk/base/test_discovery.py
Log Message:
-----------
Clean up "--checks" option
The "--checks" option of the cmk command is meant to restrict execution
of check plugins to the listed ones.
In the past, this also had the undocumented effect of changing the 'scan'
behaviour of SNMP plugins. This effect has disappeared during fetcher
development, and was not always helpful anyway. It will be implemented
as a separate option.
The "--checks" option now strictly restricts execution of discovery
and checking to the selected plugins.
The same feature is prepared for in the inventory module.
Change-Id: Iba4f35bb84e0557009560657698fafba885283e6