]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/monitoring/objects_monitoring-1.nix
Add monitoring check for tiboqorl
[perso/Immae/Config/Nix.git] / modules / private / monitoring / objects_monitoring-1.nix
index 94b676bd701cc09bb5517060446c5b8be2898204..9503da2592bc7fb33eeba889a85b0106d750770e 100644 (file)
@@ -113,17 +113,17 @@ in
     }
 
     # Backup services
-    {
-      service_description = "eriomem backup is up and not full";
-      host_name = "eldiron.immae.eu";
-      use = "external-service";
-      check_command = "check_backup_eriomem";
+    {
+      service_description = "eriomem backup is up and not full";
+      host_name = "eldiron.immae.eu";
+      use = "external-service";
+      check_command = "check_backup_eriomem";
 
-      check_interval = "120";
-      notification_interval = "1440";
+      check_interval = "120";
+      notification_interval = "1440";
 
-      servicegroups = "webstatus-backup";
-    }
+      servicegroups = "webstatus-backup";
+    }
     {
       service_description = "ovh backup is up and not full";
       host_name = "eldiron.immae.eu";
@@ -495,7 +495,7 @@ in
       service_description = "gitweb website is running on git.immae.eu";
       host_name = "eldiron.immae.eu";
       use = "external-web-service";
-      check_command = ["check_https" "git.immae.eu" "/" "git web interface"];
+      check_command = ["check_https" "git.immae.eu" "/cgit" "<title>Immae’s git"];
 
       servicegroups = "webstatus-webapps";
       _webstatus_name = "Git";
@@ -696,6 +696,14 @@ in
       contact_groups = "tiboqorl";
       check_command = [ "check_https" "sc.groupe-cyllene.com" "/" "<title>Support Client Cyllene" ];
     }
+
+    {
+      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" ];
+    }
   ] ++ to_resource to_backup_age nodes.eldiron.config.services.duplyBackup;
   contact = {
     telio-tortay = config.myEnv.monitoring.contacts.telio-tortay // {