I just installed an SNMP Linux Meminfo sensor for a Linux server running RHEL 7.1. The sensor reports an error with available memory:
Percent Available Memory: 1% Available Memory: 34 MByte Physical Free Percent: 95 % Physical Free: 3,501 MByte Swap Used Percent: 100 % Swap Free: 3,984 MByte Total Used Percent: 97 % Total Free: 7,485 MByte
The problem is the Available Memory (34 MB) and % Available Memory (<1%). But in Linux, of course, "free" memory is not what it seems, because the memory in buffers and cache is available to be used:
total used free shared buff/cache available Mem: 3786048 111776 32172 57900 3642100 3563862
The channels I care about are the Physical Memory channels. For now I have disabled limits for the Available Memory channels, and this has stopped the alerts. But since I can't delete channels, is there something I can do to get the meminfo sensor to account for memory in buffers and cache?
Add comment