CheckMK 2.4 broke service view grouping by tag

CMK version:
CheckMK 2.4p4 raw
OS version:
Docker on Debian
Error message:

Grouping by view is broken on CMK 2.4, at least when grouping is based on tags. It was working fine in “check-mk-raw-docker-2.3.0p30” before the upgrade. I upgraded to “check-mk-raw-docker-2.4.0p2” and it broke. It was the only thing that was broken after the update, so I thought I’d stay on 2.4x instead of rolling back, thinking it would be fixed soon.
I just upgraded to 2.4.0p4 and it’s still broken, so now logging the issue.

This is what I have as part of the view configuration:

I can’t recall if that’s a custom tag I created years ago but in any case, everything I probe has a location tag set, and there are two locations in total. Here is an example of some things I monitor:

That screenshot is in CMK 2.4. The LT* devices are in the first location. The GT* and other devices are in the second location. I sort on location tag since the grouping is broken. You can see that the sorting works, since the LT* devices are first.

In CMK 2.4, everything gets grouped into a single box, with “N/A” as the title.

How it should look is how it was in CMK 2.3 where it worked perfectly - devices tagged with “location1” would be in one box, and devices in “location2” would be in another separate box, and the location names would be the box title, instead of “N/A”.

Clearly some grouping code is now broken. Can devs please investigate and fix? Thanks.

I can confirm the behavior:

grafik

In 2.3. grouping by tags works, in 2.4.0p4 it does not.
Neither for self-created nor for built-in tags.

Kind regards,
Marc

1 Like

Good Morning,

thank you for the report.
I will create an internal ticket.

Sunny Greetings
Hartmut

1 Like

I can confirm that “check-mk-raw-docker-2.4.0p5” fixes the issue for me - thank you very much!

This looks to be the werk responsible for the fix:

3 Likes

Good Morning Gavin,

exactly, that’s the fix/werk.
Glad, it’s solved for you.

Sunny Greetings and happy monitoring
Hartmut

1 Like