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 |
|
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.