Werk #14297: Remove pre-1.6 dashboard plugin compatibility

Komponente User interface
Titel Remove pre-1.6 dashboard plugin compatibility
Datum 30.09.2022
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.2.0i1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein

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

Zur Liste aller Werks