Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

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

Component Checks & agents
Title cmk command: New option: --detect-plugins
Date Nov 19, 2020
Level Prominent Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

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