Werk #13130: mk_oracle: Fix bakery crash on deactivated agent rule
Component | Agent bakery |
Title | mk_oracle: Fix bakery crash on deactivated agent rule |
Date | Dec 8, 2021 |
Checkmk Edition | Checkmk Enterprise (CEE) |
Checkmk Version | 2.0.0p18 2.1.0b1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
When configuring one or more "ORACLE databases" agent rules and deactivating it with by setting "Activation" to "Do not deploy ORACLE databases plugin", the agent bakery failed to bake agents.
This is fixed now by moving the activation/deactivation to an entry of the ruleset. As a result, for every active agent configuration, at least one rule with specified "Activation" entry must exist to successfully bake agents.