Werk #15556: Jolokia JVM Memory Pools

Component Checks & agents
Title Jolokia JVM Memory Pools
Date Mar 22, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p26 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p35 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Jolokia JVM Memory Pools may crash with the following traceback:

 File "/omd/sites/site_name/share/check_mk/checks/jolokia_jvm_memory", line 145, in check_jolokia_jvm_memory_pools
 value_max = usage.get("max", -1)
AttributeError: 'str' object has no attribute 'get'

This can be caused by an issue in the jolokia API and will result now in an UNKNOWN state.

To the list of all Werks