]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/monitoring/objects_tiboqorl-fr.nix
Adjustments for monitoring
[perso/Immae/Config/Nix.git] / modules / private / monitoring / objects_tiboqorl-fr.nix
index 97b7f7b8ba8598d0a5ae9508819a76c52fc48313..3657c19dff804b2e0be48fde7751afbfddc33f21 100644 (file)
@@ -7,8 +7,10 @@ let
     use = "external-passive-service";
     contact_groups = "tiboqorl";
     freshness_threshold = "450";
+    notification_interval = "240";
     retry_interval = "1";
     servicegroups = "webstatus-resources";
+    _webstatus_namespace = "tiboqorl";
     host_name = hostFQDN;
   };
 in
@@ -21,6 +23,8 @@ in
       contact_groups = "tiboqorl";
       hostgroups = "webstatus-hosts";
       _webstatus_name = "tiboqorl";
+      _webstatus_vhost = "status.immae.eu";
+      _webstatus_namespace = "tiboqorl";
     };
   };
   service = [
@@ -56,8 +60,8 @@ in
       use = "local-service";
       check_command = [
         "check_local_load"
-        "3.0,3.0,3.0" # warn
-        "4.0,4.0,4.0" # alert
+        "0.75,0.75,0.75" # warn
+        "1.0,1.0,1.0" # alert
       ];
     }
     {