Title: user_config: add verification for contact groups and locked attributes
Class: fix
Compatible: compat
Component: rest-api
Date: 1705416141
Edition: cre
Knowledge: doc
Level: 1
Version: 2.2.0p19
This werk introduces two changes:
LI: it now verifies for create & edit if the provided contact groups actually exist
LI: it verifies that for an edit request, locked attributes are not being modified
Title: notification rule: allow for non builtin service levels
Class: fix
Compatible: incomp
Component: rest-api
Date: 1705490346
Edition: cre
Level: 1
Version: 2.2.0p20
When configuring a notification rule via the Rest API, you could not
set the value for "match_service_levels" to anything but the default
service levels. This werk addresses this issue by now allowing any
of the service levels configured to be used. This change mean that
there is a change to the request schema. Previously, we accepeted
the service level string value, whereas now we accept the integer
value.
Previous schema
C+:
{"match_service_levels": {
"state": "enabled",
"value": {"from_level": "silver", "to_level": "gold"}
}
}
C-:
New schema
C+:
{"match_service_levels: {
"state": "enabled",
"value": {"from_level" 10, "to_level": 20}
}
}
C-:
Werk 16385 was adapted. The following is the new Werk, a diff is shown at the end of the message.
Title: revert_changes: internal changes can be reverted only if the user has the correct permission
Class: fix
Compatible: compat
Component: wato
Date: 1705491719
Edition: cre
Level: 1
Version: 2.2.0p19
Changes made by the checkmk internal user can now only be reverted when the
logged-in user has the permission "Discard foreign changes".
------------------------------------<diff>-------------------------------------------
Title: revert_changes: internal changes can be reverted only if the user has the correct permission
Class: fix
Compatible: compat
Component: wato
Date: 1705491719
Edition: cre
Level: 1
- Version: 2.2.0p20
? ^^
+ Version: 2.2.0p19
? ^^
Changes made by the checkmk internal user can now only be reverted when the
logged-in user has the permission "Discard foreign changes".
Werk 15649 was deleted. The following Werk is no longer relevant.
Title: windows_tasks: Display Correct Scheduled Task State
Class: fix
Compatible: compat
Component: checks
Date: 1705315505
Edition: cre
Knowledge: doc
Level: 1
State: unknown
Version: 2.2.0p19
Previously, the `Scheduled Task State` could be N\A, if the Action of a Windows
task contained a comma. Moreover, the plugin only supported German or English
localization settings for Windows. With this Werk, `windows_tasks` uses the
new PowerShell API to obtain the data. This fixes the aforementioned issues.
The changes in this Werk are only applicable, if the underlying Windows version
supports the PowerShell API. The Windows versions supported by Checkmk 2.2.0 and
later all have the required the PowerShell functionality. Windows 7 does not
meet the requirements.
Title: revert_changes: internal changes can be reverted only if the user has the correct permission
Class: fix
Compatible: compat
Component: wato
Date: 1705491719
Edition: cre
Level: 1
Version: 2.2.0p20
Changes made by the checkmk internal user can now only be reverted when the
logged-in user has the permission "Discard foreign changes".
Werk 15649 was adapted. The following is the new Werk, a diff is shown at the end of the message.
Title: windows_tasks: Display Correct Scheduled Task State
Class: fix
Compatible: compat
Component: checks
Date: 1705315505
Edition: cre
Knowledge: doc
Level: 1
State: unknown
Version: 2.2.0p19
Previously, the `Scheduled Task State` could be N\A, if the Action of a Windows
task contained a comma. Moreover, the plugin only supported German or English
localization settings for Windows. With this Werk, `windows_tasks` uses the
new PowerShell API to obtain the data. This fixes the aforementioned issues.
The changes in this Werk are only applicable, if the underlying Windows version
supports the PowerShell API. The Windows versions supported by Checkmk 2.2.0 and
later all have the required the PowerShell functionality. Windows 7 does not
meet the requirements.
------------------------------------<diff>-------------------------------------------
Title: windows_tasks: Display Correct Scheduled Task State
Class: fix
Compatible: compat
Component: checks
Date: 1705315505
Edition: cre
Knowledge: doc
Level: 1
State: unknown
- Version: 2.2.0p20
? ^^
+ Version: 2.2.0p19
? ^^
Previously, the `Scheduled Task State` could be N\A, if the Action of a Windows
task contained a comma. Moreover, the plugin only supported German or English
localization settings for Windows. With this Werk, `windows_tasks` uses the
new PowerShell API to obtain the data. This fixes the aforementioned issues.
The changes in this Werk are only applicable, if the underlying Windows version
supports the PowerShell API. The Windows versions supported by Checkmk 2.2.0 and
later all have the required the PowerShell functionality. Windows 7 does not
meet the requirements.
Title: windows_tasks: Display Correct Scheduled Task State
Class: fix
Compatible: compat
Component: checks
Date: 1705315505
Edition: cre
Knowledge: doc
Level: 1
State: unknown
Version: 2.2.0p20
Previously, the `Scheduled Task State` could be N\A, if the Action of a Windows
task contained a comma. Moreover, the plugin only supported German or English
localization settings for Windows. With this Werk, `windows_tasks` uses the
new PowerShell API to obtain the data. This fixes the aforementioned issues.
The changes in this Werk are only applicable, if the underlying Windows version
supports the PowerShell API. The Windows versions supported by Checkmk 2.2.0 and
later all have the required the PowerShell functionality. Windows 7 does not
meet the requirements.
Werk 16291 was deleted. The following Werk is no longer relevant.
[//]: # (werk v2)
# user_config: verify contact group existence when creating or editing user
key | value
---------- | ---
date | 2024-01-11T13:32:35+00:00
version | 2.3.0b1
class | fix
edition | cre
component | rest-api
level | 1
compatible | yes
[//]: # (werk v2)
# Remove deprecated windows plugins
key | value
---------- | ---
date | 2024-01-16T11:18:30+00:00
version | 2.3.0b1
class | feature
edition | cre
component | checks
level | 1
compatible | no
In previous versions some windows agent plugins were included in `share/check_mk/agents/windows/plugins/deprecated`.
As the name already suggested these were deprecated for a long time and are now removed.
If you still require them you can use the plugins from former versions.
[//]: # (werk v2)
# "Cisco Devices: Temperature Sensors" Revert: used wrong lower device levels
key | value
---------- | ---
date | 2024-01-18T09:22:17+00:00
version | 2.3.0b1
class | fix
edition | cre
component | checks
level | 1
compatible | yes
In Werk [#16276](https://checkmk.com/werk/16276), we replaced the "less than" comparison by the
"less or equal" comparison. This is not consistent with how Checkmk handles lower levels, despite
what the Werk claims. This Werk restores the old behavior before Werk
[#16276](https://checkmk.com/werk/16276). Note, that Werk [#16276](https://checkmk.com/werk/16276)
also uncovered some Cisco devices, which report faulty thresholds for "less or equal". These
thresholds are now ignored again.