X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=modules%2Fprivate%2Fmonitoring%2Fdefault.nix;fp=modules%2Fprivate%2Fmonitoring%2Fdefault.nix;h=d593e5503842b2067f394bdad4cdd8bcfab3b9b0;hp=342c7f7a53591049af881c5ed5c105c66f7ed508;hb=c41d0de83b1841097c6be8d8baeed557b065657b;hpb=ef909e2435194af725f4338a13e4732328ef7361 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