]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/monitoring/objects_monitoring-1.nix
Add monitoring for quatresaisons
[perso/Immae/Config/Nix.git] / modules / private / monitoring / objects_monitoring-1.nix
index 468785046dcbc89a96fdfe3bb1e514a8944785f0..0e7d9dfd1205e491d3d17d09ac5e02be8a679564 100644 (file)
@@ -22,6 +22,7 @@ let
     }) profile.remotes;
 in
 {
+  activatedPlugins = [ "dns" "ftp" "git" "http" "imap" "ovh" "tcp" ];
   host = {
     # Dummy host for testing
     # "dummy-host" = {
@@ -370,6 +371,17 @@ in
       _webstatus_url = "https://cloud.immae.eu";
     }
 
+    {
+      service_description = "nextcloud website is running on nextcloud.4c.salle-s.org";
+      host_name = "quatresaisons.immae.eu";
+      use = "external-web-service";
+      check_command = ["check_https" "nextcloud.4c.salle-s.org" "/" "a safe home for all your data"];
+
+      servicegroups = "webstatus-webapps";
+      _webstatus_name = "Nextcloud";
+      _webstatus_url = "https://nextcloud.4c.salle-s.org";
+    }
+
     {
       service_description = "davical website is running on dav.immae.eu";
       host_name = "eldiron.immae.eu";
@@ -695,6 +707,16 @@ in
       use = "external-web-service";
       contact_groups = "tiboqorl";
       check_command = [ "check_https" "sc.groupe-cyllene.com" "/" "<title>Support Client Cyllene" ];
+      _webstatus_namespace = "tiboqorl";
+    }
+
+    {
+      service_description = "Origny page is running";
+      host_name = "tiboqorl.fr";
+      use = "external-web-service";
+      contact_groups = "tiboqorl";
+      check_command = [ "check_https" "origny.tiboqorl.fr" "/" "<title>Home Assistant" ];
+      _webstatus_namespace = "tiboqorl";
     }
   ] ++ to_resource to_backup_age nodes.eldiron.config.services.duplyBackup;
   contact = {