We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

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

ComponentChecks & Agents
Titlecmk command: New option: --detect-plugins
Date2020-11-19 12:56:52
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version2.0.0i2
LevelProminent Change
ClassNew Feature
CompatibilityCompatible - 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.