]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Fix immae.eu monitoring
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 25 Jan 2020 15:39:22 +0000 (16:39 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 25 Jan 2020 15:39:22 +0000 (16:39 +0100)
modules/private/mail/postfix.nix
modules/private/monitoring/objects_immae-eu.nix

index d8640f8d57c66370266c48471d59446ceb9f3d67..40a95774c40a5b8ba71ebabf6f117b358174dada 100644 (file)
           in pkgs.writeText "host-sender-login"
             (builtins.concatStringsSep "\n" (mapAttrsToList (n: v: "${n} ${joined v}") addresses));
           host_dummy_mailboxes = pkgs.writeText "host-virtual-mailbox"
-            (builtins.concatStringsSep "\n" (lib.attrsets.mapAttrsToList (n: v: "${n}@immae.eu  dummy") nodes));
+            (builtins.concatStringsSep "\n" (["immae-eu@immae.eu dummy"] ++ lib.attrsets.mapAttrsToList (n: v: "${n}@immae.eu  dummy") nodes));
         };
       in
         recipient_maps // relay_restrictions // virtual_map // sasl_access;
index 70459fc4032be276d0d4cc40c5d58e31c98a4b04..96f91aaa07ede5f8d567b043401e7214353e10e8 100644 (file)
@@ -52,11 +52,6 @@ in
       service_description = "ssh connexion responds";
     }
 
-    {
-      service_description = "fail2ban is active";
-      servicegroups = "webstatus-resources";
-    }
-
     {
       service_description = "pacman packages are not too old";
       servicegroups = "webstatus-resources";
@@ -64,10 +59,6 @@ in
       notification_interval = "0";
     }
 
-    {
-      service_description = "postfix service is active";
-    }
-
     {
       service_description = "tinc@Immae service is active";
     }
@@ -75,10 +66,5 @@ in
     {
       service_description = "sshd service is active";
     }
-
-    {
-      service_description = "mailq is empty";
-      servicegroups = "webstatus-email";
-    }
   ];
 }