]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Add monitoring for Eban
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 23 May 2021 20:07:52 +0000 (22:07 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 23 May 2021 20:07:52 +0000 (22:07 +0200)
modules/private/monitoring/objects_eban.nix

index 15b19b9d7adaffa159931fb662166c3be35dec7f..1e831d571fe497895abb8af1c387473257a01c34 100644 (file)
@@ -59,5 +59,19 @@ in
       _webstatus_name = "Bitwarden";
       _webstatus_url = "https://bitwarden.eban.bzh/";
     })
+    (serviceTemplate {
+      service_description = "I Learned website is up and running";
+      check_command = [ "check_https" "ilearned.eu.org" "/" "<title" ];
+
+      _webstatus_name = "I Learned website";
+      _webstatus_url = "https://ilearned.eu.org/";
+    })
+    (serviceTemplate {
+      service_description = "I Learned gitea is up and running";
+      check_command = [ "check_https" "git.ilearned.eu.org" "/" "<title" ];
+
+      _webstatus_name = "I Learned Git";
+      _webstatus_url = "https://git.ilearned.eu.org/";
+    })
   ];
 }