Werk #14297 · Sep 30, 22
Remove pre-1.6 dashboard plugin compatibility
Incompatible change. Existing setups may behave differently after upgrading. Review the details below before updating.
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).
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Multisite
- Versions:
- 2.2.0b1CommunityProUltimateUltimate + MT