|Component||Checks & Agents|
|Title||cmk command: New option: --detect-plugins|
|Checkmk Edition||Checkmk Raw Edition (CRE)|
|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.