Free on-demand webinars: Learn how to set up, configure, and get more out of Checkmk – Pick your webinar

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
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p18 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p39 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

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.

To the list of all Werks