[Release] Checkmk stable release 2.3.0p27

Dear friends of Checkmk,

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

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

Changes in all Checkmk Editions:

Checks & agents

  • 17591 FIX: SAP HANA: fix false positive status errors…
  • 17281 FIX: Skip creation of invalid metric…
  • 17592 FIX: Support HPE Raid Controller with hot spare disk…
  • 17042 FIX: Systemd Service Summary: Make default state of failed units CRIT…
  • 17585 FIX: agent_kube: resolve processing of kubelet volume metrics…
  • 17045 FIX: gude_relayport: Fix section parsing…
  • 17587 FIX: informix_dbspaces: fix calculation of free and used space size…
  • 17558 FIX: mbg_lantime_ng_refclock: Fix KeyError(170)…
  • 17527 FIX: mkbackup: Prevent TypeError exception for failed backups in check…
  • 17593 FIX: ups_power: always process power values…

HW/SW inventory

  • 17621 FIX: HW/SW inventory: Fix filtering with software package version…
  • 17606 FIX: HW/SW inventory: Include CPU model and vendor for ESX hosts with one CPU…
  • 17142 FIX: dmidecode: Fix missing memory devices

REST API

  • 17507 FIX: REST-API: Update hosts no longer modifies cluster nodes…

Setup

  • 17495 SEC: Stop LDAP integration from logging passwords to Apache error_log when LDAP log level is debug…

Site management

  • 17560 FIX: omd backup: --no-logs now excludes logs not ending with .log…

User interface

  • 17279 FIX: Export custom host/service attributes as CSV/JSON…
  • 17595 FIX: Fix miscalculated summary of availability…
  • 17280 FIX: Grouping of services in table views…
  • 17521 FIX: Synconization of MKPs in distributed setups…

Changes in the Checkmk Enterprise Edition:

Agent Bakery

  • 17504 FIX: Do not crash when attempting to bake and sign agents with empty password…

Checks & agents

  • 15301 FIX: gcp_redis: assume non leader role by default…

Changes in the Checkmk Cloud Edition:

NO CHANGES

Changes in the Checkmk Cloud (SaaS):

NO CHANGES

Changes in the Checkmk Managed Services Edition:

User interface

  • 17493 FIX: Prevent reuse of http GET params in customer column link creation…

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

2 Likes

Looks like rules for ignored failed systemd services are no longer working with this update?
Systemd Service Summary does also not show the name of the failed service.

Regards,
Bastian

Hi Bastian,

It could be related to Systemd Service Summary: Make default state of failed units CRIT

As an example:

  • Can you share a screenshot of the ignored failed systemd services ?
  • How does the systemd service look like in your case?
  • Is it also possible for you to open a ticket ?

Thanks for you reply. I rolled back yesterday :frowning: I will have to try on a test server later.

Thanks for the update. We will wait for your response. Are you using CRE or CEE ?
Also, did you updated from 2.3.0p26 to p27 ?

Im using the raw version. I quickly updated again. Here´s an example, but I have this problem with every failed service I created an ignore rule. Before the p27 update (coming from p26) this worked:

image

image

On the error, not even the name of the failed service is shown in checkmk after the update.

Thanks for the feedback. We will look into it and keep you posted.

1 Like

Thank you!

If it helps: the agent used is check-mk-agent 2.3.0p24-1, this has not changed since I upgraded from CheckMK p26 to p27.

The problem is this change here.

    yield Result(
-        state=State.OK,
-        summary=f"Failed: {sum(s.active_status == 'failed' for s in units):d}",
+        state=State(params["states"].get("failed", params["states_default"]))
+        if (number_of_failed_units := sum(s.active_status == "failed" for s in units))
+        else State.OK,
+        summary=f"Failed: {number_of_failed_units:d}",
    )

That makes really no sense. As ignores all blacklisting done with rules.

2 Likes

And also no longer showing what services failed somehow. Now I have to log on to the server and look manually.

Hey @andreas-doehler, you are right.
I will create a workaround for it by the end of the day.

Hey @Bastian82,
I believe in your case it’s not showing the Failed one, because it’s defined in the rule to be ignored. Once I have the workaround, you can retest it and see if it works as intended.

1 Like

You are right, if I disable the ignore rule, the name is shown again:

systemd_units-0.0.1.mkp (7.9 KB)

This MKP should resolve the issue mentioned here. Can you please test it out?

1 Like

No - it’s not working and the same behavior as without the mkp.

yield Result(
        state=State(params["states"].get("failed", params["states_default"]))
        if (
            number_of_failed_units := sum(
                s.active_status == "failed" and s not in services_organised["excluded"]
                for s in units
            )
        )
        else State.OK,
        summary=f"Failed: {number_of_failed_units:d}",
    )

The code in the file should look like this. Can you check?

I installed the mkp and restarted my site, now the error seems to be gone.

Thank you!

1 Like

What happens with this mkp installed, when the error is fixed in p28? Should it be removed manually then?

Yes it looks like this.
The why is also easy → services_organised[“excluded”] this not includs my service from the ruleset.


This is the shown single failed service.

Funny… now i get a blank warning on checkmk itself… sadly I just also updated another mkp (redfish), and now I dont know where to start looking :smiley:

Edit: I will rollback my VM to before the mkp changes and test again.