ID: 15532
Title: Extension packages: Disallow packages with no applicable Checkmk version
Component: Checks & agents
Level: 1
Class: New feature
Version: 2.3.0b1
Extension packages can specifiy a minimal required Checkmk version, and a Checkmk version when they expire.
Choosing those versions carelessly could result in packages with no supported version at all.
This is now validated against in the GUI.
ID: 15533
Title: Extension packages: Packages missing on remote sites
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 2.3.0b1
In Checkmk 2.2.0b1 to 2.2.0b5 enabled but inactive packages have not been activated on the remote sites where they should have been.
ID: 15698
Title: mk_filestats: Crash on baking with "Deploy without configuration"
Component: agents
Level: 1
Class: Bug fix
Version: 2.3.0b1
This is a regression that came with Checkmk 2.1.0p26/Werk #15458.
When configuring the agent ruleset <i>Count, size and age of files - mk_filestat (Linux/Solaris)</i>
and selecting "Deploy the Filestats plugin without configuration", previously, the agent bakery did
crash with a message containing
C+:
cmk.utils.exceptions.MKGeneralException: Error running automation call bake-agents (exit code 2), error:
‘bool’ object is not iterable
C-:
As a consequence of the fix, the structure of the ruleset had to be adapted to actually support rule merging.<br>
See the inline help of the ruleset for more details.<br>
However, existing rules will be auto-migrated to the new structure.
ID: 15680
Title: downtimes: duration field changed from seconds to minutes
Component: REST API
Level: 1
Class: Bug fix
Version: 2.3.0b1
This werk addresses an issue with the downtimes endpoint. When
creating a downtime, the duration field was accepting an integer
that represented the downtime in seconds. The problem was that
the gui shows this in minutes. The fix changes the duration
field to accpet integers that represent minutes instead.
ID: 14308
Title: Fix "Invalid job status None found" message for background jobs
Component: Multisite
Level: 1
Class: Bug fix
Version: 2.2.0b5
In case a job has just started and did not report any status update or was
interrupted during startup the `jobstatus.mk` state file could be empty,
resulting in the message Invalid job status None found in [PATH]".
The handling of this situation has been improved by showing the initialized
state in this situation.
ID: 15653
Title: agent_datadog: fix paging and handling of empty log message
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 2.3.0b1
Prior to this werk, the agent raised an error whenever the response did not
contain a link to the next page and when a log contained an empty message.
Both cases are now covered with this werk.
ID: 15678
Title: schemas: regex pattern updates
Component: REST API
Level: 1
Class: Bug fix
Version: 2.3.0b1
This werk introduces a fix to the pattern attribute in various
rest-api schemas.
To avoid partial matches, regex patterns should start with
the caret and end with the dollar symbol.
Also, the + symbol should be preferred over the * symbol as
the * symbol allowed for zero or more matches instead of
1 or more which is what the + symbol gives us.
For patterns that list possible options, e.g.
monday|tuesday|wedneday... etc
they have instead been removed and replaced with enums.
ID: 15559
Title: mk_oracle: Always use TNS_ALIAS when present
Component: agents
Level: 1
Class: Bug fix
Version: 2.3.0b1
This werk may be relevant for you, in case:
<ul>
<li>you want to monitor remote instances</li>
<li>you are using a TNS_ALIAS to reach the remote instance</li>
</ul>
Previously, a <tt>TNS_ALIAS</tt> from mk_oracle.cfg was pinged by the plugin with <tt>tnsping</tt> in order to verify that this alias can be reached.
However, this needs the tool <tt>tnsping</tt> installed with the oracle client, which is not shipped per default.
A failure led to silently ignoring the <tt>TNS_ALIAS</tt> and falling back to a potentially invalid connection string which is passed to <tt>sqlplus</tt>.
The plugin now assumes that the given <tt>TNS_ALIAS</tt> can be reached and uses it.
ID: 15558
Title: Drop ancient mk_oracle_dbuser.conf
Component: agents
Level: 1
Class: Bug fix
Version: 2.3.0b1
With this werk, we drop the compatibilty of using a "mk_oracle_dbuser.conf" for mk_oracle.
This configuration file is actually deprecated since 2014, so we assume nobody is using it anymore.
ID: 15606
Title: Show explanation message instead of crashing
Component: Dynamic host configuration
Level: 1
Class: Bug fix
Version: 2.3.0b1
Previously, if the DCD tried to contact a remote site, then it would show the error
C+:
File "/omd/sites/heute/lib/python3/cmk/cee/dcd/connectors/utils.py", line 221, in _execute_sync
phase1_result = self._fetch_phase1_result_from_remote_site()
File "/omd/sites/heute/lib/python3/cmk/cee/dcd/connectors/utils.py", line 259, in _fetch_phase1_result_from_remote_site
phase_one_result = self._web_api.execute_phase1_result(
File "/omd/sites/heute/lib/python3/cmk/cee/dcd/web_api.py", line 303, in execute_phase1_result
return result.json()["extensions"]
KeyError: 'extensions'
C-:
With this Werk, the message <tt>Failed to contact remote site</tt> will be shown instead.
The remaining phases were working as expected.