Werk #14297: Remove pre-1.6 dashboard plugin compatibility

Component User interface
Title Remove pre-1.6 dashboard plugin compatibility
Date Sep 30, 2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required

In Checkmk 1.6 and previous versions custom dashboard element plugins could be registered by deploying a file to local/share/check_mk/web/plugins/dashboard/ with the following code to register with Checkmk:

dashlet_types["id_of_element"] = {
    "title"       : _("Title"),
    "sort_index"  : 45,
    "description" : "..."
    "render"      : dashlet_hoststats,
    "refresh"     : 60,
    "allowed"     : builtin_role_ids,
    "size"        : (30, 18),
    "resizable"   : False,
}

This mechanism was replaced with 1.6 and is now being removed. In case you still have dashboard plugins using this mechanism, you need to rework your plugin to be usable with Checkmk 2.2 or newer. Have a look at the dashboard plugins shipped with Checkmk to, to see how it needs to be structured (e.g. lib/check_mk/gui/plugins/dashboard/overview.py).

To the list of all Werks