ID: 13957
Title: Rules can only be moved to folders you have write access to
Component: REST API
Level: 1
Class: Bug fix
Version: 2.2.0i1
The REST API now checks whether you have write access to the folder to which you want to move a rule,
and aborts the operation with a 401 status code if this is not the case.
ID: 14647
Title: Agent Bakery: Configure generic agents for any folder
Component: agents
Level: 1
Class: New feature
Version: 2.2.0i1
Users can now configure Checkmk to bake generic agents for any folder.
Previously this was only (and always) done for the root folder (usually called <i>Main</i>).
All rules that match the root folder without any host condition where used to create an agent configuration.
The resulting agent package was refered to as "<i>GENERIC</i>".
The same logic can now be used to bake a generic agent for any other folder.
To activate this users can check the box "<i>Bake agent packages</i>" in the folders settings.
An generic agent is then created for this very folder (not for its children), even if the folder is empty.
The default behaviour is unchanged, only the root folders package will be created.
As a side effect, the names on the download pages are changed from
<pre>
GENERIC, VANILLA, MyHost1, MyHost2
</pre>
to
<pre>
Vanilla (factory settings)
Folders: / (root)
Hosts: MyHost1, MyHost2
</pre>
ID: 14803
Title: Remove cmk backup
Component: Core & setup
Level: 1
Class: Bug fix
Version: 2.2.0i1
The "cmk backup" command has been removed. Use "omd backup" instead.
"cmk backup" only did an incomplete back up and did not guarantee a sucessful restore.
ID: 14755
Title: Fix selection on "Activate pending changes" page
Component: Multisite
Level: 1
Class: Bug fix
Version: 2.2.0i1
This werk fixes two problems regarding the selection of sites on the activation
page.
First, if no changes were pending, the option "Select all checkboxes" in the
"Changes" menu was still selectable.
Furthermore, the mentioned option was still "Select all checkboxes" instead of
"Deselect all checkboxes" on page visit with pending changes (all affected
sites are already selected on page visit).
ID: 14560
Title: LIVESTATUS_TCP_ONLY_FROM now allows IPv6 addresses
Component: Site Management
Level: 1
Class: Bug fix
Version: 2.2.0i1
Previously, using the command <tt>omd config set LIVESTATUS_TCP_ONLY_FROM</tt> with any IPv6 address
would fail. For example, the command
C+:
$ omd config set LIVESTATUS_TCP_ONLY_FROM "0.0.0.0 ::/0"
C-:
resulted in <tt>Invalid value for '0.0.0.0 ::/0'. Does not match allowed pattern.</tt>
With this werk, each IP address is matched using <tt>ipaddress.ip_network</tt> from the Python
standard library. In particular, this allows the usage of IPv6 addresses.
ID: 14474
Title: Fix parent renaming for hosts in subfolders
Component: Setup
Level: 1
Class: Bug fix
Version: 2.2.0i1
The renaming of hosts includes the renaming of parents, if the host that is
renamed is a parent of other hosts.
This renaming was faulty if the child host was in a subfolder that inherited
the parent attribute from a parent folder, leading to messages like "The parent
"FOO" of the host "BAR" is not defined on this site" on activation of changes.
Note that the parent was renamed correctly in the parent folder where the
attribute was effectivly set. Saving the folder properties again after renaming
fixed the mentioned error message.
ID: 14866
Title: Windows powershell plugins generate Utf-8 output by default
Component: Checks & agents
Level: 2
Class: New feature
Version: 2.2.0i1
Since this release, the output of all Windows powershell plugins
is configured as Utf-8 thus eliminating any problems with non-ASCII
symbols in the output.
ID: 14835
Title: mk_mongodb: Fix unknown option 'directConnection' which is only available since pymongo3.11
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 2.2.0i1
ID: 14754
Title: Fix search result on "Hosts" page if tags or labels are shown
Component: Setup
Level: 1
Class: Bug fix
Version: 2.2.0i1
If the inpage search on the page "Setup" - "Hosts" was used and the display
options "Show host tags" and/or "Show explicit host labels" were enabled, the
search result returned all hosts.
A workaround was to use the "... (show all)" link in the "Tags" column after
the search result returned. This only returned the matched hosts.
ID: 14558
Title: kemp_loadmaster_services: Missing Conns metric
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 2.2.0i1
The active connections are now shown in the service graph, again.