Werk #12152: mk_jolokia: Error running agent plugin when deploying via agent bakery

Komponente Agent bakery
Titel mk_jolokia: Error running agent plugin when deploying via agent bakery
Datum 12.03.2021
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk-Version 2.0.0p1 2.1.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

When deploying the agent plugin mk_jolokia via agent bakery, the execution of the plugin will fail, if the field "Name of the instance in the monitoring" is set within the "JMX monitoring of Java JVMs using Jolokia".

As the corresponding agent section is missing when experiencing this error, the corresponding services will change it's state to UNKNOWN. When running the mk_jolokia plugin manually, this will result in a traceback, ending with the error
TypeError: a bytes-like object is required, not 'str'

This is fixed with this Werk. The plugin and the corresponding services will be functional again when rebaking and deploying agents.

Zur Liste aller Werks