Werk #20087: check-httpv2: reduce runtime overhead per check invocation
| Component | Checks & agents | ||||||
| Title | check-httpv2: reduce runtime overhead per check invocation | ||||||
| Date | Jun 2, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
Previously, each invocation of check-httpv2 started a pool of worker
threads to handle the HTTP request.
Because the check only performs a single request, it could not benefit from the
additional threads.
On the contrary, starting the threads produced significant overhead related to
the number of CPUs of the system.
The check now runs on a single thread, reducing the CPU and memory overhead of each invocation. This is particularly noticeable on sites that monitor many HTTP endpoints.