diff options
Diffstat (limited to 'modules/private/monitoring/default.nix')
-rw-r--r-- | modules/private/monitoring/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/private/monitoring/default.nix b/modules/private/monitoring/default.nix index 2c2f693..e1357a7 100644 --- a/modules/private/monitoring/default.nix +++ b/modules/private/monitoring/default.nix | |||
@@ -38,6 +38,9 @@ let | |||
38 | wrapProgram $out/check_imap_connection --prefix PATH : ${lib.makeBinPath [ | 38 | wrapProgram $out/check_imap_connection --prefix PATH : ${lib.makeBinPath [ |
39 | pkgs.openssl | 39 | pkgs.openssl |
40 | ]} | 40 | ]} |
41 | wrapProgram $out/check_eriomem --prefix PATH : ${lib.makeBinPath [ | ||
42 | pkgs.s3cmd pkgs.python3 | ||
43 | ]} | ||
41 | wrapProgram $out/notify_maison_bbc_by_email --prefix PATH : ${lib.makeBinPath [ | 44 | wrapProgram $out/notify_maison_bbc_by_email --prefix PATH : ${lib.makeBinPath [ |
42 | pkgs.mailutils pkgs.gawk | 45 | pkgs.mailutils pkgs.gawk |
43 | ]} | 46 | ]} |
@@ -55,7 +58,7 @@ let | |||
55 | loadWarn = "8.0"; loadAlert = "10.0"; | 58 | loadWarn = "8.0"; loadAlert = "10.0"; |
56 | }; | 59 | }; |
57 | backup-2 = { | 60 | backup-2 = { |
58 | processWarn = "50"; processAlert = "60"; | 61 | processWarn = "60"; processAlert = "70"; |
59 | loadWarn = "1.0"; loadAlert = "2.0"; | 62 | loadWarn = "1.0"; loadAlert = "2.0"; |
60 | }; | 63 | }; |
61 | monitoring-1 = { | 64 | monitoring-1 = { |
@@ -220,6 +223,7 @@ in | |||
220 | $USER205$=${config.myEnv.monitoring.imap_password} | 223 | $USER205$=${config.myEnv.monitoring.imap_password} |
221 | $USER206$=${config.myEnv.monitoring.slack_channel} | 224 | $USER206$=${config.myEnv.monitoring.slack_channel} |
222 | $USER207$=${config.myEnv.monitoring.slack_url} | 225 | $USER207$=${config.myEnv.monitoring.slack_url} |
226 | $USER208$=${builtins.concatStringsSep "," (map (builtins.concatStringsSep ":") config.myEnv.monitoring.eriomem_keys)} | ||
223 | ''; | 227 | ''; |
224 | objectDefs = toObjects commonObjects | 228 | objectDefs = toObjects commonObjects |
225 | + toObjects hostObjects | 229 | + toObjects hostObjects |