Werk #11674: cmk command: New option: --plugins
Component | Checks & agents |
Title | cmk command: New option: --plugins |
Date | Nov 19, 2020 |
Checkmk Edition | 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 "--plugins" to the cmk -I my_host, cmk -i my_host and cmk my_host commands.
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.
Unlike the deprecated "--checks" option (see werk 11675) this will have no effect on the fetching process whatsoever.
For instance if you execute cmk -i --plugins mem my_host, the inventory plugin mem will be executed (and nothing else).