ID: 14808
Title: mk_filestat crash when scanning short lived files
Component: agents
Level: 1
Class: Bug fix
Version: 2.2.0i1
The mk_filestats check plugin would crash with a TypeError when scanning files that are short lived.
Now such short lived files are filtered out in the agent plugin.
ID: 14926
Title: Dashboards: Apply context to figure dashlets
Component: Multisite
Level: 1
Class: Bug fix
Version: 2.2.0i1
Recently, figure dashlets (i.e. specific dashboard elements) did not apply the dashboard context anymore. This could lead to the display of unexpected content (e.g. in "inventory" type elements) as well as broken graph rendering (e.g. in "single metric" type elements).
The application of the dashboard context is fixed for figure dashlets and thus their expected rendering is restored.
ID: 14901
Title: user_config: REST API fix to ensure the request and response schemas align
Component: REST API
Level: 1
Class: Bug fix
Version: 2.2.0i1
This werk introduces a fix that aligns both the response and request schemas on the user_config
endpoints. The response schema now nests the enforce_password_change attribute just like the
request schemas. So the response from a GET request has the same format as what is required in
a POST/PUT request. Client scripts should be adjusted accordingly.
ID: 14809
Title: Add 802.11ax24 and 802.11ax5 standards for cisco prime connection count
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 2.2.0i1
Previously the number of connected clients for 802.11ax24 and 802.11ax5 have not been displayed.
ID: 14562
Title: Prometheus: allow specifying a path prefix
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 2.2.0i1
Previously, the Prometheus special agent would use the path prefix as a URL base prefix.
For example, specifying the use of the host IP address, e.g. <tt>1.2.3.4</tt>, together with a
prefix, e.g., <tt>my_prefix</tt> would result in an API call to
C+:
https://my_prefix1.2.3.4/api/v1/status/buildinfo
C-:
In particular, this behaviour deviated from the description in the Prometheus rule. With this werk,
the path prefix is prepended to the API calls instead, e.g.,
C+:
https://1.2.3.4/my_prefix/api/v1/status/buildinfo
C-:
Users, which have specified a path prefix, are migrated to the new option
<tt>Custom URL base prefix</tt>, which has the same behaviour as the old path prefix option.
ID: 14887
Title: Fix link of "Event Console Events/Hosts: Hostname" painter
Component: Multisite
Level: 1
Class: Bug fix
Version: 2.2.0i1
If the column "Event Console Events/Hosts: Hostname" was used in dashlets, the
link always pointed to "dashboard_dashlets.py" what caused an error message
like “Invalid user input - The name of the dashboard is missing”.
ID: 14886
Title: Fix links from views to dashboards with group datasources
Component: Multisite
Level: 1
Class: Bug fix
Version: 2.2.0i1
If you used a column with a link to a dashboard in a view with datasource "Host
groups" or "Service groups", the target dashboard did not recognize the given
host or service group, leading to wrong results on the dashboard.
ID: 14834
Title: HW/SW Inventory: Use status for failed inventory if "Cannot update tree"
Component: HW/SW Inventory
Level: 1
Class: Bug fix
Version: 2.2.0i1
The configured status of {{State when inventory fails}} in the ruleset
{{Do hardware/software inventory}} did not apply if the inventory could not be
updated with {{Cannot update tree}}. This has been fixed now.
ID: 14535
Title: fix runas plugin
Component: agents
Level: 1
Class: Bug fix
Version: 2.2.0i1
This werk fixes a bug in the runas plugin that was preventing it to run
the plugins as any user other than root.
This also impacted mrpe plugins included in the runas config when they
were run asynchronously.
The error shown by the agent output in debug mode was
'check_mk_agent: line 211: su [RUNAS_USER] -c "[CHECK_FILE_PATH]": No such file or directory'