diff options
author | Nicolargo <nicolas@nicolargo.com> | 2015-01-02 22:59:08 +0100 |
---|---|---|
committer | Nicolargo <nicolas@nicolargo.com> | 2015-01-02 22:59:08 +0100 |
commit | dfd2cf1c38d9cb0617bef4b181bbd5c52ed3a38f (patch) | |
tree | 08e0abb46d73e115004ca0dbf9f21f2b52a650b2 /conf | |
parent | e32089f40a16a267cca08cc1b16a690f4c5f1d36 (diff) |
Add {{mustache}} feature to the action script
Diffstat (limited to 'conf')
-rw-r--r-- | conf/glances-test.conf | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/glances-test.conf b/conf/glances-test.conf index d4f9dbdc..4a804eea 100644 --- a/conf/glances-test.conf +++ b/conf/glances-test.conf @@ -3,7 +3,7 @@ user_careful=50 user_warning=70 user_critical=90 -user_critical_action=touch /tmp/glances.alert +user_critical_action=echo {{user}} {{value}} {{max}} > /tmp/cpu.alert iowait_careful=50 iowait_warning=70 iowait_critical=90 @@ -72,13 +72,14 @@ hide=sda2,sda5 # Default limits for free filesytem space in % # Default values if not defined: 50/70/90 careful=50 +careful_action=echo {{mnt_point}} {{used}}/{{size}} > /tmp/fs.alert warning=70 critical=90 [sensors] # Sensors core limits # Default values if not defined: 60/70/80 -temperature_core_careful=60 +temperature_core_careful=50 temperature_core_warning=70 temperature_core_critical=80 # Temperatures in °C for hddtemp |