Free on-demand webinars: Learn how to set up, configure, and get more out of Checkmk – Pick your webinar

Werk #23140: heartbeat_crm: don't crash on enforced services without expected node count

Component Checks & agents
Title heartbeat_crm: don't crash on enforced services without expected node count
Date Nov 17, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p22
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p43
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

If the service "Heartbeat CRM General" was created as an enforced service and its rule did not set an expected number of nodes or resources, the service went to UNKNOWN with KeyError: 'num_nodes'.

The check now only compares the number of nodes and resources when the rule specifies them, and reports the cluster status as usual otherwise.

To the list of all Werks