]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/monitoring/objects_backup-2.nix
Add mysql replication
[perso/Immae/Config/Nix.git] / modules / private / monitoring / objects_backup-2.nix
index b8ecb815bc7e89dfa58201db0b8c71a32b9f5a23..fad67630f693256b728df21610524625cb599106 100644 (file)
       use = "local-service";
       check_command = ["check_last_file_date" "/backup2/eldiron/postgresql_backup" "7" "postgres"];
     }
+    {
+      service_description = "Last mysql dump in /backup2/eldiron/mysql_backup is not too old";
+      use = "local-service";
+      check_command = ["check_last_file_date" "/backup2/eldiron/mysql_backup" "7" "mysql"];
+    }
   ];
 }