Get Available/Used Memory for alert

We’re having problems with memory alerts. I tried to create an alert on the mem free value. However, our systems are highly using free memory for file system caches. This makes a difference of around 32 GB between the "free“ command fields.

[email protected]:~# free -m
total used free shared buff/cache available
Mem: 64422 26703 469 0 37249 36999

As the documentation states, "available" is not an available metric currently. Also "used" doesn’t seem to be available.

So can this field be available in the Linux systems metrics plugin, too? Alternatively, can we get the "used" metric and calculate a percent value of used/total to effectively trigger an alarm?

--- asked by KPS.com

Comments

Sign In or Register to comment.