[Release] Checkmk stable release 2.3.0p14

Dear friends of Checkmk,

the new stable release 2.3.0p14 of Checkmk is ready for download.

This stable release ships with 21 changes affecting all editions of Checkmk,
4 changes for the Enterprise editions, 0 Cloud Edition specific and
1 Managed Services Edition specific changes.

Changes in all Checkmk Editions:

Checks & agents

  • 17123 KUBE: Addition of support for Kubernetes v1.30…
  • 17151 FIX: Make Microsoft IIS monitoring locale independent…
    NOTE: Please refer to the migration notes!
  • 16776 FIX: chrony: change default warning level…
    NOTE: Please refer to the migration notes!
  • 15340 FIX: mysql_slave: propagate errors to service result…
    NOTE: Please refer to the migration notes!
  • 17242 FIX: Fix Cisco Meraki missing services…
  • 16250 FIX: Handle years in ntp output…
  • 16891 FIX: check_ewon: TypeError (‘NoneType’ object is not subscriptable) raised if values for levels are missing…
  • 17235 FIX: cpu_utilization: allow total CPU utilization to be set above 101%…
  • 15323 FIX: mk_postgres: Adapt environment file parsing…

HW/SW inventory

  • 17132 FIX: infoblox_systeminfo: Fix error ‘asdict() should be called on dataclass instances’ during HW/SW inventory

Notifications

  • 17181 FIX: Microsoft Teams: Fix notifications not being displayed…

Other components

  • 16594 Container: Support setting custom timezone…

REST API

  • 16994 FIX: REST-API: error 500 on service discovery when disabling active or custom checks…

Setup

  • 16352 Support Diagnostics: Add rotated log files to the dump…
  • 17255 FIX: Fix select comment removal removing all comments for acknowledgements…
  • 17165 FIX: Fix warning on rule creation of “Icon image for…”…
  • 17153 FIX: Skip unnecessary site activations when editing users…
  • 16351 FIX: Support Diagnostics crashes when receiving tar from remote site…
  • 17260 FIX: Support Diagnostics: Fix data collected about the CPU…

Site management

  • 16026 Add support for SLES 15 SP6…

User interface

  • 16992 Introduce global setting: Default dynamic visuals permission…

Changes in the Checkmk Enterprise Edition:

Setup

  • 17026 SEC: Fix XSS in view page with SLA column…

User interface

  • 17232 SEC: Synthetic Monitoring: Fix XSS vector in HTML logs displayed in UI…
  • 16998 FIX: SLA alert levels: show CRIT state if SLA alerts levels are CRIT but SLA not broken yet…
  • 16995 FIX: SLA alerts levels: show full precision instead of no decimal places…

Changes in the Checkmk Cloud Edition:

NO CHANGES

Changes in the Checkmk Saas Edition:

NO CHANGES

Changes in the Checkmk Managed Services Edition:

REST API

  • 17179 REST-API: Include customer in list group endpoints…

You can download Checkmk from our download page: Download Checkmk for free | Checkmk

List of all changes: Werks

We greatly thank you for using Checkmk and wish you a successful monitoring,

Your Checkmk Team

Update stuck on making backup…

Hi @DTB, it is unfortunate, that something does not seem to be working for you. However, from the few words you shared it is impossible to determine, what exactly went wrong. Maybe you can share just a bit more information, so folks might be able to help?

Hi Robin,

After installing the new version (RAW) I want to update this from 2.3.0p12.cre to 2.3.0p14.cre, but it stuck on creating and making backup…It just running there for hours without any other messages…Don’t know where to look for errors logs on this…

Screenshot update checkmk

1 Like

I have seen this recently on virtual appliance with CEE. In my case it stuck because there was a conflict and it asked to answer with continue or abort. Unfortunately this message was not shown on the screen. Only after hitting enter key it continued with default answer and the message was visible.
I will do some tests soon to verify. May have a look at update.log.

As the problem mentioned by @mike1098 is not shown as a fix in this version, i would strongly advise not to upgrade if you have some modifications in your site or it is an older site where you get some messages on every update.

For this problem a ticket should exists. @robin.gierse can you please have a look inside the system if there is any information about this not shown preflight check.

I am trying to reproduce the problem with the CRE but no luck. For me the update process works as expected. In my test, I just created a fresh 2.3.0p12.cre on Ubuntu 22.04 with few hosts and services and then updated to 2.3.0p14.cre. Do you also do/have something similar?

2024-09-03 09:13:29 - Updating site 'p12raw' from version 2.3.0p12.cre to 2.3.0p14.cre...

Creating temporary filesystem /omd/sites/p12raw/tmp...OK
ATTENTION
  Some steps may take a long time depending on your installation.
  Please be patient.

Cleanup precompiled host and folder files
Verifying Checkmk configuration...
 01/06 Legacy check plug-ins...
 02/06 Rulesets...
 03/06 UI extensions...
 04/06 Agent based plugins...
 05/06 Autochecks...
 06/06 Deprecated .mk configuration of plugins...
Done (success)


Completed verifying site configuration. Your site now has version 2.3.0p14.cre.
Executing update-pre-hooks script "01_mkp-disable-outdated"...OK
Executing update-pre-hooks script "02_cmk-update-config"...
-| ATTENTION
-|   Some steps may take a long time depending on your installation.
-|   Please be patient.
-| 
-| Cleanup precompiled host and folder files
-| Verifying Checkmk configuration...
-|  01/06 Legacy check plug-ins...
-|  02/06 Rulesets...
-|  03/06 UI extensions...
-|  04/06 Agent based plugins...
-|  05/06 Autochecks...
-|  06/06 Deprecated .mk configuration of plugins...
-| Done (success)
-| 
-| Updating Checkmk configuration...
-|  01/23 Create precompiled host and folder files...
-|  02/23 Validate user IDs...
-|  03/23 Update views...
-|  04/23 Update dashboards...
-|  05/23 User attributes...
-|  06/23 Global settings...
-|  07/23 Rulesets...
-|  08/23 Autochecks...
-|  09/23 Hosts and folders...
-|  10/23 Migrate CLI parent scan config...
-|  11/23 Cleanup version specific caches...
-|  12/23 Delete old dedicated agent receiver cert...
-|  13/23 Synchronize automationuser secrets...
-|  14/23 Check for incompatible password hashes...
-|  15/23 Remove unreadable prediction files...
-|  16/23 Update existing two factor...
-|  17/23 Update pagetypes...
-|  18/23 Split large audit logs...
-|  19/23 Event Console: Rewrite active config...
-|  20/23 Sanitize audit log...
-| Wrote audit log backup to /omd/sites/p12raw/audit_log_backup. Please check if the audit log in the GUI works as expected.
-| In case of problems you can copy the backup files back to /omd/sites/p12raw/var/check_mk/wato/log.
-| Please check the corresponding files in /omd/sites/p12raw/var/check_mk/wato/log for any leftover automation secrets and remove them if necessary.
-| If everything works as expected you can remove the backup.
-| For further details please have a look at Werk #17056.
-|  21/23 Remove persisted graph options...
-|  22/23 BI config...
-|  23/23 Update core config...
-| Generating configuration for core (type nagios)...
-| Precompiling host checks...OK
-| Done (success)
OK
Finished update.

This problem only happens if you get some “questions” at the preflight check.

I got only this in the update.log

2024-09-03 04:55:40 - Updating site ‘infra’ from version 2.3.0p12.cre to 2.3.0p14.cre…

Creating temporary filesystem /omd/sites/infra/tmp…OK
Aborted.
2024-09-03 06:19:18 - Updating site ‘infra’ from version 2.3.0p12.cre to 2.3.0p14.cre…

Creating temporary filesystem /omd/sites/infra/tmp…OK
Aborted.

I’ve abort the update because it took too long…

Thanks. I can reproduce it now and will open an internal ticket now.

For testing I setup a new 2.2.0 site with a self build MKP with a check which is deprecated in 2.3. While upgrading I had the above described behavior. After pressing enter key it did an abort of the upgrade and showed the message.

@robin.gierse Please let me know if one is already working on this. I think I can easily reproduce it.

regards

Mike

I tested this and could not see the issue anymore. But I will connect with @chauhan_sudhir and double-check the state of the internal ticket.

For the time being, if you get stuck, you can either press A to abort or c to continue, if you are certain the issues are not too bad.

3 posts were split to a new topic: Proxmox Backup Plugin not working after upgrade to 2.3.0p14

  • 17181 FIX: Microsoft Teams: Fix notifications not being displayed…

Just tested it in out instance. Works fine! Thanks!

1 Like

same problem from upgrading from 2.3.0p11 → 2.3.0p14 ubuntu 20.04

> root@vm-omd-02:/home/omd# ps -eaf | grep -i omd
> root       11028    1974  0 10:06 ?        00:00:00 sshd: omd [priv]
> omd        11457       1  0 10:07 ?        00:00:00 /lib/systemd/systemd --user
> omd        11458   11457  0 10:07 ?        00:00:00 (sd-pam)
> omd        11586   11028  0 10:07 ?        00:00:00 sshd: omd@pts/0
> omd        11587   11586  0 10:07 pts/0    00:00:00 -bash
> root       14112    1974  0 10:16 ?        00:00:00 sshd: omd [priv]
> omd        14205   14112  0 10:16 ?        00:00:00 sshd: omd@pts/1
> omd        14206   14205  0 10:16 pts/1    00:00:00 -bash
> xxx 62057   14339  0 11:00 pts/1    00:00:00 /omd/versions/2.3.0p14.cee/bin/python3 /usr/bin/omd update xxx
> xxx 62211   62057  5 11:01 pts/1    00:00:06 python3 /omd/sites/xxx/bin/cmk-update-config --conflict ask --dry-run
> root       62359   11723  0 11:02 pts/0    00:00:00 grep --color=auto -i omd

may problem with this command

> root@vm-omd-02:/home/omd# python3 /omd/sites/xxx/bin/cmk-update-config --conflict ask --dry-run
> Traceback (most recent call last):
>   File "/omd/sites/xxx/bin/cmk-update-config", line 8, in <module>
>     from cmk.update_config.main import ensure_site_is_stopped, main
> ModuleNotFoundError: No module named 'cmk'

quick fix: If you repeat “c” and press “enter”, the update is completed.

2024-09-06 11:15:46 - Updating site 'xxx' from version 2.3.0p11.cee to 2.3.0p14.cee...

Creating temporary filesystem /omd/sites/xxx/tmp...OK
c
c
c
ATTENTION
  Some steps may take a long time depending on your installation.
  Please be patient.

Cleanup precompiled host and folder files
Verifying Checkmk configuration...
 01/06 Legacy check plug-ins...
Ignoring outdated plugin 'winperf_citrix_mcs': Format no longer supported -- this API is deprecated!
Ignoring outdated plugin 'winperf_system': Format no longer supported -- this API is deprecated!


..........


OK
Finished update.

You can upgrade directly to the just released 2.3.0p15. The issue is solved there.

1 Like

I just tested and can confirm it works in 2.3.0p15. I now see the correct message:

Thanks for fixing it.

regards

Michael

it hangs at a later stage in my other env:

image