ID: 15616
Title: Add Proper Error Message if DCD is Stopped on Remote Site
Component: Dynamic host configuration
Level: 1
Class: Bug fix
Version: 2.2.0p1
Prior to this werk, Phase 1.1 "Fetching from site" reported an Internal Server Error alongside an
exception, if the DCD was stopped. With this Werk an appropriate error message is shown instead.
Note, this fix is only available to customers whom update, both, the central and remote site.
ID: 14202
Title: Network topology: Minor usability fixes when selecting root nodes
Component: Multisite
Level: 1
Class: Bug fix
Version: 2.2.0p1
The host regex filter was not updated accordingly when the user changed the starting node(s) of a topology.
ID: 14181
Title: Improved speed of cmk-update-config which runs during software update
Component: Setup
Level: 1
Class: Bug fix
Version: 2.2.0p1
Configurations which lots of static checks called some functions needlessly often,
thus resulting in <tt>cmk-update-config</tt> times of 10+ minutes.
ID: 15851
Title: Combined graphs from views: Take view context into account
Component: metrics
Level: 1
Class: Bug fix
Version: 2.3.0b1
When rendering combined graphs from views via the dropdowns <i>Hosts / Services > All metrics of
same type in one graph</i>, the context of the view was not taken into account. For example, views
can be restricted to only include services whose descriptions match a regular expression. When
rendering combined graphs from such a view, this restriction was not taken into account. Hence, the
combined graph included more objects than the original view or even reported that the object limit
for combined graphs was reached, even if the number of rows in the original view was below the
limit.
Note that this error did not occur if additional filters were applied to the view before rendering
the combined graph. In that case, the original context and the additional filters were correctly
applied to the combined graph.
ID: 15192
Title: Handling overly long usernames
Component: Setup
Level: 1
Class: New feature
Version: 2.0.0p37
Prior to this Werk, attempting to create a user with a very long name would partially create the user and then fail, leaving the user management GUI in an unusable state.
Attempting to create such a user now fails gracefully with an error message.
ID: 15493
Title: Adjustments to local extensions may be required
Component: Multisite
Level: 2
Class: New feature
Version: 2.2.0
In 2.2, we moved a lot of internal UI code and removed implicitly imported
names to reduce unclear situations. This helps our internal code structure, but
may cause issues for existing extensions which were relying on these moved or
removed names.<br><br>
It is important to note that such code restructuring is part of the continuous
improvement and evolution of Checkmk. These changes can lead to more efficient
workflows, improved features, and better performance.<br><br>
For 2.2 we tried to keep compatibility for the most extensions but could not
make sure to cover them all.<br><br>
Therefore, we would like to give you a few examples, how to adjust local
extensions if you see incompatibilities with Checkmk 2.2.<br>
Please note: Each example stands for one possible import problem, so the module
names are interchangeable.<br><br>
<b>Loading "metrics/my_custom_file" failed: No module named
'cmk.gui.plugins.metrics.check_mk'</b><br>
There is an import from the not existing module "cmk.gui.plugins.metrics.check_mk".
Check your plugin to see what is imported from there, e.g. "df_translation" and
add the import:
F+:metrics/my_custom_file
from cmk.gui.plugins.metrics.translation import df_translation
F-:
<b>Loading "views/my_custom_file" failed: name 'inventory_displayhints' is not
defined</b><br>
In earlier versions, an explicit import was not needed, with 2.2 you have to
add:
F+:views/my_custom_file
from cmk.gui.views.inventory.registry import inventory_displayhints
F-:
<b>Loading "wato/my_custom_file" failed: cannot import name
'RulespecGroupIntegrateOtherServices' from
'cmk.gui.plugins.wato.active_checks'</b><br>
The location of some modules may have changed. The simplest way to find the new
place is to grep for it in '~/lib/python3/cmk/gui' and adjust the import in
bar:
F+:wato/my_custom_file
from cmk.gui.plugins.wato.active_checks.common import RulespecGroupIntegrateOtherServices
F-:
<b>Loading "wato/my_custom_file" failed: name 'socket' is not defined</b><br>
System modules like 'socket' have to be imported from 2.2 on, so please add:
F+:wato/my_custom_file
import socket
F-:
For Checkmk 2.3 we plan to introduce a fully described API to avoid such
adjustments with every major release in the future.<br><br>
Also see related werks:
<a href='https://checkmk.com/werk/13094'>Werk #13094: Various ValueSpec-related API cleanups</a>
ID: 15681
Title: Ntop: Top talkers throughput stats incorrectly calculated
Component: ntopng_integration
Level: 1
Class: Bug fix
Version: 2.3.0b1
The Ntop top talkers dashboard throughput stats were being calculated
wrong. This werk addresses the issues by fixing the calculation.
ID: 15159
Title: Send metrics without perf data to backend
Component: metrics
Level: 1
Class: Bug fix
Version: 2.3.0b1
We erroneously rejected any metrics without performance data. Indeed,
this prevented users to log state changes for those metrics.