Werk #18568: Jolokia: handle missing metrics in agent output

Component Checks & agents
Title Jolokia: handle missing metrics in agent output
Date Sep 10, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p12
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p37
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

There is no guarantee that Jolokia metrics will be found in the agent output. With the prior implementation, this would lead to a crash report if any of the metrics are missing.

With this fix, we are now handling the different cases. If at least one metric is present, the service will be considered OK. If no metrics are present in the data, the service will be considered UNKNOWN.

No user intervention is needed to get the benefit of this fix.

To the list of all Werks