From a7a97ccd0fb62fbc355a850bbc05f7e8b6c210fc Mon Sep 17 00:00:00 2001
From: Lars Edvin Jonsson Hoff <lehoff@stud.ntnu.no>
Date: Thu, 10 Mar 2022 18:02:24 +0100
Subject: [PATCH] user warning added fix3

---
 glances.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/glances.conf b/glances.conf
index 03c3934..ed7e782 100644
--- a/glances.conf
+++ b/glances.conf
@@ -69,7 +69,7 @@ steal_critical=90
 user_careful=50
 user_warning=70
 user_critical=35
-user_critical_action=echo {{CPU}} {{35}} > /tmp/fs.alert
+user_critical_action=echo {{device_name}} {{percentage}} > /tmp/fs.alert
 iowait_careful=50
 iowait_warning=70
 iowait_critical=90
-- 
GitLab