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

Komponente Checks und Agenten
Titel cmk command: New option: --detect-plugins
Datum 19.11.2020
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.0.0b1
Level Bedeutende Änderung
Klasse Neues Feature
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks