Werk #11675: cmk command: New option: --detect-plugins

Component Checks & Agents
Title cmk command: New option: --detect-plugins
Date Nov 19, 2020
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0b1
Level Prominent Change
Class New Feature
Compatibility Compatible - no manual interaction needed

This werk adds the new commandline option "--detect-plugins" to the cmk -I my_host, cmk -i my_host and cmk my_host commands.

It is compatible to the previous "--checks" option, which will still work for some time. We have introduced the "--detect-sections" and "--plugins" options to make the two aspects of the "--checks" option configurable individually.

Setting this option to a comma separated list of plugin names will have the effect that the specified command (that is, checking, inventory or discovery) will only be done for the provided plugins, in the same way "--plugins" would.

In addition, Checkmk makes a best effort guess which sections should be fetched, that is: It sets the "--detect-sections" option to all sections that may be needed for the provided plugins.

To the list of all Werks