ID: 12027
Title: Rittal CMC-III checks: <tt>ValueError("invalid literal for int() with base 10: ''",)</tt>
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 2.1.0i1
This werk fixes a bug which made the Rittal CMC-III checks crash with the error message
<tt>ValueError("invalid literal for int() with base 10: ''",)</tt>.
ID: 12132
Title: Fix view crash when linking to views with missing context
Component: Multisite
Level: 1
Class: Bug fix
Version: 2.1.0i1
Previous 2.0 versions produced crash reports (KeyErrors) when a column was
linking to another view while a mandatory context information was missing in
the source row. This could e.g. happen when trying to link to a "single
hostgroup" view from a view showing host rows (where no single host group is
availabile).
Instead of showing the crash the GUI is now linking to the target view. Once
a user opens up the view, the view is showing a warning message and asks for
the missing context information.
ID: 12070
Title: Fix creation of timeperiod copy
Component: Multisite
Level: 1
Class: Bug fix
Version: 2.1.0i1
If an existing timeperiod was cloned via "Create a copy", the values of the
existing, copied timeperiod were changed. No new timeperiod was created.
Creating a copy will now create a clone of the chosen timeperiod.
Furthermore, if you create a new timeperiod, the "Internal ID" will be
pre-filled.
ID: 12071
Title: Fix default active time range on iCalendar timeperiod imports
Component: Multisite
Level: 1
Class: Bug fix
Version: 2.1.0i1
If you imported a timeperiod via the option "Import iCalendar" with version 1.6
upwards, a default active time range was set.
This could leed to unwanted send notifications. Timeperiods imported with
version 1.5 are not affected.
>From now on there will be no default. Please check your imported timeperiods.
ID: 11974
Title: Validate item spec regexes during config update
Component: Checks & agents
Level: 1
Class: New feature
Version: 2.1.0i1
Unfortunately Python 2 allowed to enter invalid regexes into the service condition of check parameter rules.
In Python 3 these values will lead to a crash when evaluating the service condition.
E.g. a service condition like "C:\Users\" leads to the error message "re.error: incomplete escape \U at position 2".
Therefore the Checkmk update procedure (cmk-update-config) validates the regular expressions in service conditions of
check parameter rules and logs "ERROR: Invalid regular expression in service condition detected" if the regex cannot
be evaluated at all or logs "WARN: Service condition in rule looks like a windows path that is not correctly escaped."
if the regex seems to be a windows path that contains a single backslash instead of two backslashes.
If you encounter these errors or warnings your configuration probably contains rules that needs to be corrected.
Previous Checkmk versions were not complaining about those rules but they were not able to match.
You should change these rules according to https://docs.checkmk.com/latest/en/regexes.html prior to the update
of your production site.
E.g. you should change windows paths like "C:\Users\" to "C:\\Users\\" with double backslashes.
ID: 12168
Title: Handle non-persistent comments correctly
Component: Core & setup
Level: 3
Class: Bug fix
Version: 2.1.0i1
You can add non-persistent host/service comments via Livestatus, and these
should vanish when the monitoring core is restarted. The CMC effectively
ignored the "persistent" flag for these user comments, so even
non-persistent comments survived a restart. This has been fixed, the CMC
now behaves like Nagios.
Note that this fix doesn't affect comments added via the GUI, because these
are always persistent.
ID: 12123
Title: Datasource Programs: fix upgrade problem for activemq rules
Component: Setup
Level: 1
Class: Bug fix
Version: 2.1.0i1
In the previous version, it was not possible to upgrade from a
pre 2.0.0 version without running into a problem with activemq's
existing rules. This werk fixes this behavior allowing to take over
the old rules.
ID: 12117
Title: Inventory: docker: Readd labels for images and containers
Component: HW/SW Inventory
Level: 1
Class: Bug fix
Version: 2.1.0i1
Labels for images and containers where not shown in docker inventory.