aboutsummaryrefslogtreecommitdiff
path: root/modules/private/monitoring/default.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2021-03-28 18:38:04 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2021-03-28 18:38:04 +0200
commitc41d0de83b1841097c6be8d8baeed557b065657b (patch)
tree3b188758640fcb97ba0927948d4bbc0b9f04c579 /modules/private/monitoring/default.nix
parentef909e2435194af725f4338a13e4732328ef7361 (diff)
downloadNix-c41d0de83b1841097c6be8d8baeed557b065657b.tar.gz
Nix-c41d0de83b1841097c6be8d8baeed557b065657b.tar.zst
Nix-c41d0de83b1841097c6be8d8baeed557b065657b.zip
Adjustments for monitoring
Diffstat (limited to 'modules/private/monitoring/default.nix')
-rw-r--r--modules/private/monitoring/default.nix9
1 files changed, 5 insertions, 4 deletions
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
109 commonConfig = { 109 commonConfig = {
110 dilion = { 110 dilion = {
111 processWarn = "250"; processAlert = "400"; 111 processWarn = "250"; processAlert = "400";
112 loadWarn = "8.0"; loadAlert = "10.0"; 112 loadWarn = "1.0"; loadAlert = "1.2";
113 interface = "eth0"; 113 interface = "eth0";
114 }; 114 };
115 eldiron = { 115 eldiron = {
116 processWarn = "250"; processAlert = "400"; 116 processWarn = "250"; processAlert = "400";
117 loadWarn = "8.0"; loadAlert = "10.0"; 117 loadWarn = "1.0"; loadAlert = "1.2";
118 interface = "eth0"; 118 interface = "eth0";
119 }; 119 };
120 backup-2 = { 120 backup-2 = {
@@ -130,7 +130,7 @@ let
130 }; 130 };
131 quatresaisons = { 131 quatresaisons = {
132 processWarn = "250"; processAlert = "400"; 132 processWarn = "250"; processAlert = "400";
133 loadWarn = "8.0"; loadAlert = "10.0"; 133 loadWarn = "1.0"; loadAlert = "1.2";
134 interface = "eth0"; 134 interface = "eth0";
135 }; 135 };
136 }; 136 };
@@ -347,7 +347,8 @@ in
347 config.myEnv.monitoring.ovh_sms.consumer_key 347 config.myEnv.monitoring.ovh_sms.consumer_key
348 config.myEnv.monitoring.ovh_sms.account 348 config.myEnv.monitoring.ovh_sms.account
349 ]} 349 ]}
350 $USER210$=${config.myEnv.monitoring.eban.password} 350 $USER210$=${config.myEnv.monitoring.eban.user}
351 $USER211$=${config.myEnv.monitoring.eban.password}
351 ''; 352 '';
352 objectDefs = toObjects commonObjects 353 objectDefs = toObjects commonObjects
353 + toObjects hostObjects 354 + toObjects hostObjects