Werk #22574: ucd_mem: no crash on zero total RAM
| Component | Checks & agents | ||||||
| Title | ucd_mem: no crash on zero total RAM | ||||||
| Date | Oct 5, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
If a device monitored via the UCD SNMP memory table reported a total
RAM of 0, the "Memory" service crashed with
ZeroDivisionError: float division by zero.
The service now reports UNKNOWN with "Cannot evaluate RAM: device reports a total of 0 B". Swap errors reported by the device are still shown.