From c41d0de83b1841097c6be8d8baeed557b065657b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 28 Mar 2021 18:38:04 +0200 Subject: Adjustments for monitoring --- modules/private/monitoring/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'modules/private/monitoring/default.nix') diff --git a/modules/private/monitoring/default.nix b/modules/private/monitoring/default.nix index 342c7f7..d593e55 100644 --- a/modules/private/monitoring/default.nix +++ b/modules/private/monitoring/default.nix @@ -109,12 +109,12 @@ let commonConfig = { dilion = { processWarn = "250"; processAlert = "400"; - loadWarn = "8.0"; loadAlert = "10.0"; + loadWarn = "1.0"; loadAlert = "1.2"; interface = "eth0"; }; eldiron = { processWarn = "250"; processAlert = "400"; - loadWarn = "8.0"; loadAlert = "10.0"; + loadWarn = "1.0"; loadAlert = "1.2"; interface = "eth0"; }; backup-2 = { @@ -130,7 +130,7 @@ let }; quatresaisons = { processWarn = "250"; processAlert = "400"; - loadWarn = "8.0"; loadAlert = "10.0"; + loadWarn = "1.0"; loadAlert = "1.2"; interface = "eth0"; }; }; @@ -347,7 +347,8 @@ in config.myEnv.monitoring.ovh_sms.consumer_key config.myEnv.monitoring.ovh_sms.account ]} - $USER210$=${config.myEnv.monitoring.eban.password} + $USER210$=${config.myEnv.monitoring.eban.user} + $USER211$=${config.myEnv.monitoring.eban.password} ''; objectDefs = toObjects commonObjects + toObjects hostObjects -- cgit v1.2.3