ID: 15139
Title: Fix hyperlinks in the service description
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 2.2.0i1
Previously, left click on a hyperlink in the service description would
cause an error and the web page wouldn't open.
Now, the left click opens the web page in a new tab.
ID: 15140
Title: fileinfo: Add the negative age tolerance parameter
Component: Checks & agents
Level: 1
Class: New feature
Version: 2.2.0i1
Previously, the state would be UNKNOWN if a file has a creation time from the future.
A new parameter 'Negative age tolerance' has been added to 'Size and age of single files'
and 'Size, age and count of file groups' rules.
By setting the parameter, it's possible to ignore the negative age of the file.
ID: 14573
Title: Prometheus & Alertmanager: Deprecation of `IP Address` and `Host name` options
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 2.2.0i1
The rules <tt>Prometheus</tt> and <tt>Alertmanager</tt> both allowed omitting the server address
from the connection option by specifying <tt>IP Address</tt> or <tt>Host name</tt>. The
corresponding agents would then generate URLs based on the host configuration.
These options add complexity, are incompatible with proxy setups and less transparent than simply
specifying the relevant URL.
Therefore, these options will be removed in Checkmk 2.3.0.
Affected users need to use the <tt>Custom URL</tt> option to specify the server address. For
instance, assume your rule specifies
<ul>
<li><tt>IP Address</tt> </li>
<li><tt>Port</tt>: <tt>9000</tt></li>
<li><tt>Custom path prefix</tt>: <tt>my_prefix</tt></li>
</ul>
and your host has the address <tt>1.2.3.4</tt>. Then the new rule needs to specify
C+:
https://1.2.3.4:9000/my_prefix/api/v1/status/buildinfo
C-:
ID: 14572
Title: Prometheus: Deprecation of `kube-state-metrics` scrape target
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 2.2.0i1
The Prometheus agent provides the `kube-state-metrics` as a possible data source. This in turn would
enable the following checks.
<ul>
<li>k8s_resources</li>
<li>k8s_namespaces</li>
<li>k8s_conditions</li>
<li>k8s_pod_container</li>
<li>k8s_service_info</li>
<li>k8s_daemon_pods</li>
</ul>
However, these checks are no longer actively maintained, since they have been superseded by their
counterparts in the Kubernetes agent. Moreover, the `kube-state-metrics` target
<ul>
<li>does not support new versions of kube-state-metrics (v2.0.0-alpha / 2020-09-16 or newer),</li>
<li>does not provide the information required to fully support monitoring and</li>
<li>is stricly inferior to monitoring via the Kubernetes agent.</li>
</ul>
For this reason, this option will be removed in Checkmk 2.3.0.
If you are affected by this change, you need to setup your monitoring as per these instructions:
https://docs.checkmk.com/latest/en/monitoring_kubernetes.html
ID: 15169
Title: host_config & folder_config: fix validation for remove_attributes when using custom attributes
Component: REST API
Level: 1
Class: Bug fix
Version: 2.2.0i1
Prior to this werk, the REST-API returned a 400 error when a custom attribute was provided
in the remove_attributes field in the update endpoint. This werk fixes this error by passing
the validation mechanism to the endpoint.
ID: 15167
Title: folder_config: fix querying a folder with invalid time in network scan option
Component: REST API
Level: 1
Class: Bug fix
Version: 2.2.0i1
Prior to this werk, the REST-API raised an error when the user tried to query a folder
config which had the network scan option configured with 24:00 in one its time ranges.
This werk fixes this behaviour.
ID: 15108
Title: Broken links in service summaries
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 2.2.0i1
Links rendered in service summaries where not clickable if another result followed the link.
ID: 14394
Title: Changing password fails when a password policy is enforced
Component: Setup
Level: 1
Class: Bug fix
Version: 2.2.0i1
When a password policy (e.g. minumum length) was configured users could not change their passwords due to an internal error.
Affected users would see the error message `Internal error: object of type 'Password' has no len()`.
This is now fixed.
ID: 15166
Title: KUBE: addition of available to StatefulSets replicas
Component: Checks & agents
Level: 1
Class: New feature
Version: 2.2.0i1
This werk adds the available replicas field of the StatefulSets to the
<tt>kube_replicas</tt> check plugin. Similar to the ready replicas, the not available
duration threshold can be configured via the check plugin's rule.
ID: 14768
Title: mssql.vbs: some database specific sections contain data from a different database
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 2.2.0i1
If you require this fix, you must reinstall the agent plugin "mssql.vbs" on the
relevant hosts.
Please note that applying this fix could lead to vanished services. If this is
the case, it makes sense to remove them from your monitoring, as these services
belong to a different database and have been falsely created. You can find
detailed error messages in the host's agent output.
In some settings the user that is used to run queries against the various
databases on a MSSQL server does not have access rights to query all databases.
This could lead to data from a different database shown for any database that
the user could not query.
Known services affected by this error:
LI: tablespaces
LI: transactionlogs
LI: datafiles
LI: clusters
The problem was that the error after attempting to switch to a different
database was not captured, and it was assumed to be successful. Instead, the
subsequent query was run against the database the user could last switch to.
If you would like to give the user extended access rights to query all
databases, please read the article at https://kb.checkmk.com/x/pAKqAg
We have introduced a more consistent way to perform queries against the system
and handle any errors.