Skip to content

Commit 3c91308

Browse files
authored
Merge branch 'Checkmk:master' into feature_add_cisco_wlc_clients_c9800_lc_k9
2 parents b6c4685 + 4ea64d2 commit 3c91308

File tree

688 files changed

+23062
-11620
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

688 files changed

+23062
-11620
lines changed

.github/OWNERS

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
# Component AI Tools
2-
#
3-
# Find information about code-owners (+ find-owners syntax) here:
4-
# https://android-review.googlesource.com/plugins/code-owners/Documentation/backend-find-owners-cookbook.html
5-
# https://android-review.googlesource.com/plugins/code-owners/Documentation/backend-find-owners.html#syntax
1+
# CI platform
62

7-
set noparent # don't inherit owners information from parent folders
3+
set noparent
84

9-
file:/component_owners/ai_tools/OWNERS_DEFINITION
5+
file:/component_owners/ci_platform/OWNERS_DEFINITION

.werks/17759.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[//]: # (werk v2)
2+
# Fixed removal of non-sticky acknowledgements
3+
4+
key | value
5+
---------- | ---
6+
date | 2025-12-03T14:37:59+00:00
7+
version | 2.5.0b1
8+
class | fix
9+
edition | cee
10+
component | cmc
11+
level | 1
12+
compatible | yes
13+
14+
Non-sticky acknowledgements of soft non-OK states have been removed even
15+
when the host or service stayed in the same soft non-OK state. This was
16+
inconsistent with the way Nagios works and has been fixed.
17+
18+
Note: If you e.g. add a non-sticky acknowledgement for a soft-WARN state
19+
and the service goes to soft-CRIT, the acknowledgement will get removed.
20+
In other words: You acknowledge only the current state, not a general
21+
"non-OK" state, which is consistent with Nagios.

.werks/17779.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[//]: # (werk v2)
2+
# cmciii_io: Align the check with the checkman
3+
4+
key | value
5+
---------- | ---
6+
date | 2025-09-09T08:57:53+00:00
7+
version | 2.5.0b1
8+
class | fix
9+
edition | cre
10+
component | checks
11+
level | 1
12+
compatible | yes
13+
14+
Previously, the cmciii_io check would incorrectly report a CRIT state for relay
15+
outputs when the status was "Off". This was due to special-case logic that
16+
treated relay devices differently from other I/O ports.
17+
18+
The check has been simplified to consistently apply the same state mapping to
19+
all I/O devices:
20+
- "OK", "Off", and "Closed" states map to OK
21+
- "On" and "Open" states map to WARN
22+
- Unknown states default to WARN
23+
24+
This fix ensures that relay outputs with "Off" status now correctly report OK
25+
state instead of CRIT, aligning the behavior with the documented checkman
26+
specification.

.werks/18479.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[//]: # (werk v2)
2+
# Use fractions of seconds for VSphere System Time Offset
3+
4+
key | value
5+
---------- | ---
6+
date | 2025-12-04T12:19:02+00:00
7+
version | 2.5.0b1
8+
class | fix
9+
edition | cre
10+
component | checks
11+
level | 1
12+
compatible | yes
13+
14+
[Werk 17197](https://checkmk.com/werk/17197) accidentially rounded a timestamp
15+
to whole seconds. This lead to much higher values for the VSphere System Time
16+
Ofsset check.
17+
18+
Also the two function calls for taking the local time and asking VSphere for the
19+
current time was moved closer to each other.

.werks/18596.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[//]: # (werk v2)
2+
# kernel_performance: Don't record negative number of context switches on reboot
3+
4+
key | value
5+
---------- | ---
6+
date | 2025-12-08T10:09:42+00:00
7+
version | 2.5.0b1
8+
class | fix
9+
edition | cre
10+
component | checks
11+
level | 1
12+
compatible | yes
13+
14+
After a system reboot, the "Kernel Performance" service could record a negative number of context switches.
15+
This was caused by a counter reset during the reboot process.
16+
17+
With this update, such negative results are now skipped and not recorded.

.werks/18600.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
[//]: # (werk v2)
2+
# Preview of upcoming new plug-in APIs
3+
4+
key | value
5+
---------- | ---
6+
date | 2025-11-16T20:05:52+00:00
7+
version | 2.5.0b1
8+
class | feature
9+
edition | cre
10+
component | checks
11+
level | 1
12+
compatible | yes
13+
14+
Checkmk 2.5 features four new **unstable** APIs for plugin development.
15+
There are three new (versioned) APIs, and a new version of the bakery API.
16+
The replaced APIs will be removed in Checkmk 2.7 (details below).
17+
18+
Plugin APIs in general provide means to write own code that interacts with the main application using well defined and stable code libraries.
19+
20+
Over the last versions we gradually replaced more and more of the poorly documented and unversioned APIs.
21+
The three new APIs do this for the special agents, active checks and HW/SW inventory views.
22+
23+
All four of these APIs are incuded as an "unstable" version.
24+
You can find a detailed technical documentation of the APIs [online](https://docs.checkmk.com/plugin-api/master/) or in a running sites' "Help" menu, under "Plugin API references".
25+
26+
We would love to receive your feedback via the [Checkmk Forum](https://forum.checkmk.com/c/exchange/new-devapi).
27+
You can of course also ask for help there.
28+
29+
## APIs
30+
31+
#### `cmk.bakery.v2_unstable`
32+
33+
This is the successor of `cmk.base.cee.plugins.bakery.bakery_api.v1`.
34+
With version 2 of this API the bakery plugins are included in the new plug-in family layout (at `cmk_addons.plugins.<YOUR_NAME_HERE>.bakery`).
35+
36+
There's a few other differences that you can read about in the [developer documentation](https://docs.checkmk.com/plugin-api/master/cmk.base.plugins.bakery.bakery_api/index.html#module-cmk.bakery.v2_unstable).
37+
38+
#### `cmk.inventory_ui.v1_unstable`
39+
40+
This is the new API to write user interfaces for HW/SW inventory entries.
41+
42+
#### `cmk.password_store.v1_unstable`
43+
44+
This API provides functionality to interact with the password store, mostly to access stored secrets.
45+
You will most likely want to use this in your special agents and active checks.
46+
47+
#### `cmk.server_side_programs.v1_unstable`
48+
49+
This API provides convenience features to be used in special agents and active checks.
50+
The most important ones are decorators to create crash reports and a class that allows to persist some data from one call to another.
51+
52+
53+
## Compatibility and timeline
54+
55+
For all these four APIs the same timeline is planned:
56+
57+
### Checkmk 2.5
58+
59+
The APIs are released in an "unstable" version.
60+
This means that while we intend to release the APIs like this, we are not yet committed to keep them exactly as they are, and might change them in an incompatible manner.
61+
This allows us to gather some experience and react to your feedback.
62+
63+
**Plug-in developers are encouraged to try out these APIs and give us their
64+
feedback via the [Checkmk Forum](https://forum.checkmk.com/c/exchange/new-devapi).**
65+
66+
### Checkmk 2.6
67+
68+
The APIs are released as stable version (their names change accordingly).
69+
We strongly recommend users migrate to the new APIs during the lifetime of 2.6.
70+
71+
### Checkmk 2.7
72+
73+
All functionality being replaced by the new APIs will be removed.
74+
In particular `cmk.special_agents`, `cmk.utils.password_store`, `cmk.base.cee.plugins.bakery.bakery_api.v1` and `cmk.bakery.v1`.
75+
**All plug-ins not migrated to the new APIs will stop working.**
76+

.werks/18700.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[//]: # (werk v2)
2+
# Ensure new lines before and after sql based sections in mk_oracle
3+
4+
key | value
5+
---------- | ---
6+
date | 2025-11-26T08:03:03+00:00
7+
version | 2.5.0b1
8+
class | fix
9+
edition | cre
10+
component | checks
11+
level | 1
12+
compatible | yes
13+
14+
mk_oracle sometimes produces output where two sections are concatenated without a line break. This happens due to misconfigured NLS parameters or errors in custom SQL statements, making the output unable to process.
15+
16+
To fix this, mk_oracle now outputs an explicit new line before and after each SQL-based section. This ensures that sections are properly separated without requiring any changes to your existing configuration.

.werks/18702.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[//]: # (werk v2)
2+
# Remove debug option from redfish special agent
3+
4+
key | value
5+
---------- | ---
6+
date | 2025-12-05T12:19:55+00:00
7+
version | 2.5.0b1
8+
class | fix
9+
edition | cre
10+
component | multisite
11+
level | 1
12+
compatible | yes
13+
14+
An additional debug mode was provided in the GUI for the Redfish special agent. However, this generated additional log files and did not comply with the relevant debugging standards for special agents.
15+
Since a CLI-based debug option already exists, this additional debug mode was removed.

.werks/18734.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[//]: # (werk v2)
2+
# OTel: Separate read-only and full-access permissions for OTel Collector configurations
3+
4+
key | value
5+
---------- | ---
6+
date | 2025-11-27T12:34:08+00:00
7+
version | 2.5.0b1
8+
class | feature
9+
edition | cce
10+
component | checks
11+
level | 1
12+
compatible | yes
13+
14+
The OTel Collector configuration now uses a clearer permission model with two permissions:
15+
16+
read_otel_collector — allows viewing OTel Collector configurations
17+
18+
otel_collector — grants full access, including creating, editing, and deleting configurations
19+
20+
Users with only read_otel_collector can view all configuration details but will receive a permission error if they attempt to edit or delete anything.
21+
This lets operational users access the information they need without exposing administrative actions.
22+
23+
Additionally, the OTel receiver listing page now shows HTTP and gRPC credentials, making it easier for users to retrieve the required connection parameters for their agents or scrapers.
24+
25+
Administrators should review existing roles to ensure users have the appropriate level of access.

.werks/18879.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[//]: # (werk v2)
2+
# New 'csm' command-line tool for Checkmk Synthetic Monitoring
3+
4+
key | value
5+
---------- | ---
6+
date | 2025-12-03T00:12:14+00:00
7+
version | 2.5.0b1
8+
class | feature
9+
edition | cee
10+
component | checks
11+
level | 1
12+
compatible | yes
13+
14+
The new command-line tool `csm` (Checkmk Synthetic Monitoring) serves as a standalone, lean abstraction layer above the open source tool micromamba.
15+
16+
The background to this is the future discontinuation of the "RCC" functionality that creates environments for executing Robot Framework tests.
17+
In particular, RCC's ability to execute post-installation commands after the environment has been created is not available in "micromamba" (introduced as a replacement for RCC in Checkmk 2.5).
18+
19+
CSM brings back the convenience to create test environments with a single command without having to worry about the details of the micromamba syntax or necessary additional postinstall steps.
20+
21+
The subcommand "csm env" encapsulates all tasks related to environment management (creating, activating, deactivating, and packing/unpacking environments).
22+
23+
The subcommand "csm robot create" is used to quickly initialize new Robot Framework projects. The tool creates a new robot test structure and fills it with a fixed set of skeleton files from a minimal sample project. This provides users with ready-to-use directory and project structures without having to manually copy recurring boilerplate files. The aim is to simplify the start of new projects, ensure consistent structures and significantly reduce the time to the first functional test.
24+
25+
"csm robot" will be given additional subcommands in the future, including the execution of robots with RobotCode profiles (used in VS Code).
26+
27+
The csm tool is available for download on GitHub: https://github.com/Checkmk/csm/releases

0 commit comments

Comments
 (0)