Werk #13218: Wrongfully applied parameters for clusters

Component Checks & agents
Title Wrongfully applied parameters for clusters
Date Sep 18, 2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p12 2.1.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

A clustered service should only have the parameters from rules matching the cluster host applied. In Checkmk versions 1.6.0 to 2.0.0p11 however, the rules configured for one certain node where applied as well, with the rules matching the cluster taking precedence.

The wrongfully applied rules were the rules matching the last node (according to the cluster definition) for which the service in question had been discovered. For instance for a cluster with the nodes node_1, node_2, node_3 configured, where the service was discovered on node_1 and node_2, the service would have also been applied all rules matching node_2.

To the list of all Werks