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

Werk #22640: hyperv_vm_integration: Don't crash on special cases without a state

Component Checks & agents
Title hyperv_vm_integration: Don't crash on special cases without a state
Date Oct 14, 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.0p16 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

In the rule Hyper-V VM integration services, a special case for a specific service could be saved without setting State if not default. Such a rule made the Hyper-V VM integration services service crash with KeyError: 'state_if_not_default'. Rules converted from the old format, which had no such setting, were affected as well.

Special cases without State if not default now use the state configured for the whole rule.

To the list of all Werks