aboutsummaryrefslogtreecommitdiff
path: root/modules/private/monitoring/objects_phare.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-01-17 01:15:04 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-01-17 01:15:04 +0100
commit71a2425ed95120a6de3a41bb233b1066779d4c26 (patch)
tree007f2756abab644604577352da28b1fd4c20df44 /modules/private/monitoring/objects_phare.nix
parent981fa80354fd6f00f49446777c38f77bd8a65f65 (diff)
downloadNix-71a2425ed95120a6de3a41bb233b1066779d4c26.tar.gz
Nix-71a2425ed95120a6de3a41bb233b1066779d4c26.tar.zst
Nix-71a2425ed95120a6de3a41bb233b1066779d4c26.zip
Add e-mail checks monitoring
Diffstat (limited to 'modules/private/monitoring/objects_phare.nix')
-rw-r--r--modules/private/monitoring/objects_phare.nix11
1 files changed, 2 insertions, 9 deletions
diff --git a/modules/private/monitoring/objects_phare.nix b/modules/private/monitoring/objects_phare.nix
index ab46436..a00e5e8 100644
--- a/modules/private/monitoring/objects_phare.nix
+++ b/modules/private/monitoring/objects_phare.nix
@@ -1,4 +1,4 @@
1{ ... }: 1{ emailCheck, ... }:
2{ 2{
3 host = { 3 host = {
4 "phare.normalesup.org" = { 4 "phare.normalesup.org" = {
@@ -10,13 +10,6 @@
10 }; 10 };
11 }; 11 };
12 service = [ 12 service = [
13 { 13 (emailCheck "phare" "phare.normalesup.org")
14 service_description = "phare.normalesup.org email service is active";
15 use = "external-passive-service";
16 host_name = "phare.normalesup.org";
17 freshness_threshold = "1350";
18 retry_interval = "1";
19 servicegroups = "webstatus-email";
20 }
21 ]; 14 ];
22} 15}