Werk #19469: Fix cmk-monitor-broker hanging CheckMk agent runs due to proxy misconfiguration
| Component | Site management | ||||||
| Title | Fix cmk-monitor-broker hanging CheckMk agent runs due to proxy misconfiguration | ||||||
| Date | Mar 26, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
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.