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 |
|
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.