Werk #19469 · Mar 26, 26
Fix cmk-monitor-broker hanging CheckMk agent runs due to proxy misconfiguration
Previously, the cmk-monitor-broker script could cause the Checkmk agent to
stall for several minutes when the monitored site ran in an environment with
HTTP proxy settings configured.
Since the site name is typically not listed in no_proxy, curl would route
these local requests through the configured proxy, which either rejected them
(HTTP 407) or timed out without ever returning.
With this werk we now explicitly bypass the proxy for the site hostname and add a 5-second connection timeout as a safety net in case the broker is unreachable for any other reason.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- OMD
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0b3All Editions
- 2.4.0p26All Editions