Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #19841: multipath: don't crash when numpaths is 0

Component Checks & agents
Title multipath: don't crash when numpaths is 0
Date Apr 21, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.6.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

When a multipath group had numpaths equal to 0 (for example because all discovered paths had been removed from the device map between discovery and the next check cycle), the check crashed with a ZeroDivisionError while computing the active-path percentage.

The check now reports a CRIT state with "No paths" and continues to yield the remaining information instead of crashing.

To the list of all Werks