Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #16414: Migrate Old Configuration Format For 'Disable notifications'

Component Notifications
Title Migrate Old Configuration Format For 'Disable notifications'
Date Mar 18, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.3.0b4 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.2.0p26 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

In Werk #6417, we announced that some changes to etc/check_mk/conf.d/wato/contacts.mk are necessary before updating. In case a user did not migrate his configuration, they would encounter the following crash in 2.2.0, but not in 2.1.0:

  File "/omd/sites/edding/lib/python3/cmk/base/notify.py", line 968, in rbn_rule_contacts
    if disable_notifications_opts.get("disable", False):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'bool' object has no attribute 'get'

With this Werk, the configuration is migrated automatically.

To the list of all Werks