From f0b83c8687e204ee6af14adaf17f1535e75821d4 Mon Sep 17 00:00:00 2001 From: Daniele Date: Fri, 1 Apr 2022 11:30:29 +0200 Subject: [PATCH] Fixed available ram check --- healthcheck.cfg.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/healthcheck.cfg.example b/healthcheck.cfg.example index ecb66a9..7fd7636 100644 --- a/healthcheck.cfg.example +++ b/healthcheck.cfg.example @@ -123,7 +123,7 @@ ALARM_VALUE_LESS_THAN=20 [available_ram] # Like Free ram, but shows available instead of free. You may want to use this if you use a memcache. DISABLED=True -COMMAND=free | grep Mem | awk '{print int($6/$2 * 100.0)}' +COMMAND=free | grep Mem | awk '{print int($7/$2 * 100.0)}' ALARM_VALUE_LESS_THAN=20 [cpu_temperature]