CMK version:
Checkmk Enterprise 2.3.0p30 (CEE)
OS version:
Docker container running on AlmaLinux 9.3 host
Problem summary
I’m trying to monitor a Spring Boot service exposing a valid and accessible Jolokia endpoint at:
http://ip.address/pricing/actuator/jolokia
This URL works fine via curl
from within the Checkmk container. I’ve configured a Jolokia integration under:
Setup → Agents → JMX monitoring of Java JVMs using Jolokia
However, neither of the two available “Checkmk Agent / API integrations” options work.
1. Option: “Configured API integrations, no Checkmk agent”
In this mode, no connection attempt is made. Output of:
OMD[cmk]:~$ cmk --debug -vvn ip.address
Yields:
[API/agent] host configuration requires a datasource but none configured (!!)
[piggyback] Successfully processed from source 'another-ip'
It’s as if the Jolokia integration is not being recognized at all as a datasource, despite being configured for this host.
2. Option: “API integrations if configured, else Checkmk agent”
In this mode, it ignores the Jolokia API integration and tries to connect via TCP (which is not running):
[agent]: Communication failed: [Errno 111] Connection refused
[piggyback] Successfully processed from source 'another-ip'
So the agent fails, and the Jolokia integration is still not used.
Conclusion / Bug?
Checkmk Enterprise doesn’t seem to recognize the configured Jolokia rule as a valid data source, even when the endpoint is reachable and correctly set.
This makes both available modes unusable:
- “Configured API integrations, no Checkmk agent” fails with “no datasource”
- “API integrations if configured, else agent” skips the API entirely
This looks like a bug in how datasource plugins are registered or matched to the host.
Would appreciate guidance on whether this is a misconfiguration or a regression in 2.3.0p30
.