Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 394e1ae13591eb78b96ebf0720890b0dbde8242d
https://github.com/tribe29/checkmk/commit/394e1ae13591eb78b96ebf0720890b0db…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2021-03-15 (Mon, 15 Mar 2021)
Changed paths:
A .werks/12152
Log Message:
-----------
12152 FIX mk_jolokia: Error running agent plugin when deploying via agent bakery
When deploying the agent plugin <tt>mk_jolokia</tt> 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 <tt>UNKNOWN</tt>.
When
running the mk_jolokia plugin manually, this will result in a traceback, ending
with the error<br>
<tt>TypeError: a bytes-like object is required, not 'str'</tt>
This is fixed with this Werk. The plugin and the corresponding services will be
functional again when rebaking and deploying agents.
CMK-7316
Change-Id: I02771c47f84fc2e7e312d1c31d0c4d7994948e1d