ID: 14079
Title: Agent registration: Fix required user permissions
Component: REST API
Level: 1
Class: Bug fix
Version: 2.2.0i1
There were some user permission issues with the agent registration (<tt>cmk-agent-ctl
register ...</tt>). For example, the registration crashed with "500 Internal Server
Error" for users without the permission "Write access to all hosts and folders".
To register a host, users need the following permissions:
<ul>
<li>Agent pairing.</li>
<li>Read access to the host, either via "Read access to all hosts and folders" or via
via contact groups.</li>
<li>Write access to the host, either via "Write access to all hosts and folders" or via
"Modify existing hosts" and write access to the specific host via contact groups.</li>
</ul>
ID: 14323
Title: Fix error on report scheduler creation
Component: Reporting & Availability
Level: 1
Class: Bug fix
Version: 2.2.0i1
If the button "Create regular time-schedule for this report" was used, the
error "Cannot edit schedule entry for non-existing report MY_REPORT" could
occur.
Also, the chosen report is now selected for the created scheduler entry. It is
no longer necessary to select it from a dropdown list on the next page.
ID: 14309
Title: sap_hana_backup: backup duration shows negative timespan
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 2.2.0i1
The incompatibility of this werk affects users who have SAP Hana servers that
are not in the same timezone as their monitoring servers, and monitor their
backup duration. It also affects users who use the <tt>sap_hana_backup</tt>
parsed section to develop custom plugins.
<br>
The <tt>sap_hana_backup</tt> check either showed a negative timespan for the
backup duration (Checkmk version <=1.6.0) or showed an error reading
"ValueError(Cannot render negative timespan)" (Checkmk version >= 2.0.0) in the
event that the monitoring and SAP Hana servers are not in the same timezone.
This has been fixed. Users affected by this issue must deploy the agent plugin
to the monitored server in order to apply the fix. Users who are sure their
servers are in the same timezone do not need to re-deploy the agent plugin;
however, we strongly advise to do so.
ID: 14310
Title: sap_hana_backup: cluster check crashes when node has no data
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 2.2.0i1
The <tt>sap_hana_backup</tt> cluster check crashed when at least one node had
no relevant data with the error message "TypeError: argument of type 'NoneType'
is not iterable". This has been fixed.
ID: 14096
Title: <tt>cmk</tt>: fail on some previously ignored command line options
Component: Checks & agents
Level: 1
Class: New feature
Version: 2.2.0i1
The command line flags <tt>--cache</tt>, <tt>--no-cache</tt>, <tt>--no-tcp</tt>
and <tt>--usewalk</tt> only have an effect to commands that involve fetching
data from a monitored host.
They had no effect on all other commands, and now cause those commands to fail.
The mentioned flags are now only allowed for the following <tt>cmk</tt> modes:
<ul>
<li><tt>--check</tt> (the default)</li>
<li><tt>-d</tt> / <tt>--dump-agent</tt></li>
<li><tt>--discover-marked-hosts</tt></li>
<li><tt>--check-discovery</tt></li>
<li><tt>-I</tt> / <tt>--discover</tt></li>
<li><tt>-i</tt> / <tt>--inventory</tt></li>
<li><tt>--inventory-as-check</tt></li>
</ul>
ID: 13909
Title: Accomodate large agent output
Component: cmc
Level: 1
Class: Bug fix
Version: 2.2.0i1
The protocol used between the fetchers and the core could only accomodate
payloads up to ca. 100 MB. This limit has been increased significantly.
ID: 13920
Title: UI: Increase width of scrollbars
Component: Multisite
Level: 1
Class: Bug fix
Version: 2.2.0i1
The width of UI scrollbars was rather small, making it difficult to hit the scrollbar with the cursor.
The scrollbar width is now increased and in the dark theme its color is made lighter for a better user experience.