Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

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

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.

To the list of all Werks