I want to replace all my home grown & Nagios plugins with the marvelous metricbeat, but I don't trust the Linux memory figures ie. I rely on avail memory to alert on when a system is going to swap.
For older kernels I use the values discussed here:
For new ones I lazily
$ cat /proc/meminfo | grep Avail
MemAvailable: 1996488 kB
but on the same system at the same time metricbeat shows, the below - can I trust the beat?