Memory computation and levels for notification

CMK version:
2.1.21
OS version:
Ubuntu 20.04

Hello,
not sure if this fits into “Troubleshooting” but here am I :slight_smile:
Feel free to move the topic in the right one.

I am a bit baffled by memory consumption display and its notifications.
Here is an example:

Total virtual memory: 77.95% - 49.70 GB of 63.75 GB
**Committed: 100%** - 63.85 GB of 63.75 GB virtual memory (warn/crit at 100.00%/150.00% used)WARN
RAM: 77.67% - 48.78 GB of 62.80 GB
Swap: 96.26% - 939.47 MB of 976.00 MB
Commit Limit: 49.25% - 31.40 GB of 63.75 GB virtual memory
Shared memory: 0.4% - 258.48 MB of 62.80 GB RAM
Page tables: 0.46% - 297.60 MB of 62.80 GB RAM
Disk Writeback: 0.0004% - 264.00 kB of 62.80 GB RAM
RAM available: 20.56% free - 12.91 GB of 62.80 GB
Hardware Corrupted: 0% - 0.00 B of 62.80 GB RAM

How the “committed” value has reached 100% if none of other parameters have done so?

THX in advance,

Marko

Hi,

the mem check of the linux agent receives its information from /proc/meminfo, when its not a container:

You can look into the file, and this is the command the agent executes to get that data:

grep -v -E '^Swap:|^Mem:|total:' </proc/meminfo

The same is the perspective of the agent output:

check_mk_agent | grep "^<<<mem>>>" -A 51

So the first step i would do is to look into the output of one of these commands and see what the real values are there.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.