Werk #18328: (Linux) Memory graph: Directly use MemTotal

Component Checks & agents
Title (Linux) Memory graph: Directly use MemTotal
Date Jan 15, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p20
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

The mem_linux check plug-in computes MemUsed from MemTotal, MemFree and some other metrics. Then the related graph plug-in stacks all these metrics and computed the MemTotal (which is already available as a metric from the target host). This may be error prone when it comes to RRD consolidation (ie. there may be spikes when using max).

Now we directly use MemTotal in the related graph plug-in. The MemTotal is the physical RAM minus a few reserved bits and the kernel binary code.

To the list of all Werks