Werk #22764: Number of threads: maximum reported as 0
| Component | Checks & agents | ||||||
| Title | Number of threads: maximum reported as 0 | ||||||
| Date | Oct 16, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
If the agent reported 0 as the maximum number of threads of a host, the
service Number of threads crashed with ZeroDivisionError: float
division by zero.
The service now checks the number of threads as usual and omits the thread usage in percent, which cannot be computed without a valid maximum. This is the same output as for hosts whose agent reports no maximum at all.