]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Remove some hosts from public status page
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 5 Jan 2020 17:01:31 +0000 (18:01 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 5 Jan 2020 17:01:31 +0000 (18:01 +0100)
modules/private/monitoring/objects_caldance-1.nix
modules/private/monitoring/objects_tiboqorl-fr.nix

index 287912489f7c621cfa0b991815148c3cb39c6a45..d5b2d8d4f22b05f66fce9d87c098f4728a703628 100644 (file)
@@ -13,45 +13,36 @@ in
       alias = "caldance-1.v.immae.eu";
       address = "caldance-1.v.immae.eu";
       use = "linux-server";
-      hostgroups = "webstatus-hosts";
-      _webstatus_name = "caldance-1";
     };
   };
   service = map (s: defaultPassiveInfo // s) [
     {
       service_description = "Size on root partition";
-      servicegroups = "webstatus-resources";
     }
 
     {
       service_description = "Total number of process";
-      servicegroups = "webstatus-resources";
     }
 
     {
       service_description = "Average load";
-      servicegroups = "webstatus-resources";
     }
 
     {
       service_description = "Swap usage";
-      servicegroups = "webstatus-resources";
     }
 
     {
       service_description = "fail2ban is active";
-      servicegroups = "webstatus-resources";
     }
 
     {
       service_description = "NTP is activated and working";
-      servicegroups = "webstatus-resources";
       freshness_threshold = "5400";
     }
 
     {
       service_description = "Databases are present in postgresql";
-      servicegroups = "webstatus-databases";
     }
   ];
 }
index 847143e5103f407debdd1a8abab4b5b395fb295f..1cc6ea00d7ec79e1bd8c561b211c47525bde26c7 100644 (file)
@@ -5,8 +5,6 @@
       alias = "tiboqorl.fr";
       address = "tiboqorl.fr";
       use = "linux-server";
-      hostgroups = "webstatus-hosts";
-      _webstatus_name = "tiboqorl";
     };
   };
 }