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?
Article Comments
Thanks, that works well, and may be what we use in the future.
The only drawback is that having separate memory counters chews up more sensor licenses than a single sensor with multiple channels, but I'll learn to live with that. :-)
May, 2015 - Permalink
Hi,
this would not be possible with the SNMP Disk Free Sensor but with an SNMP Library Sensor. When creating the same, please choose the Basic Linux Library. In the following screen you are able to choose from several available memory counters which include mem free, buffered and cached.
Best regards
May, 2015 - Permalink