Werk #16585: mk_jolokia: Add compatibility for / in MBeans
Komponente | Checks & agents |
Titel | mk_jolokia: Add compatibility for / in MBeans |
Datum | 21.03.2024 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.3.0b4 2.4.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
Previously it was not possible to select an MBean that had a path separator. This Werk implements the Jolokia path separator !/
.
An example is shown in the following fragment of the jolokia.cfg file:
...
custom_vars = [('Catalina:J2EEApplication=none,J2EEServer=none,WebModule=*localhost!/docs,j2eeType=Servlet,name=default','requestCount','myspecialmetric',[],False,'number')]]
...
This will match the entry myinstance,Catalina:J2EEApplication=none,J2EEServer=none,WebModule=//localhost/docs,j2eeType=Servlet,name=defaultmyspecialmetric.requestCount0number