]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/monitoring/conf/specific_backup-2.cfg
Use nix expressions to build monitoring list
[perso/Immae/Config/Nix.git] / modules / private / monitoring / conf / specific_backup-2.cfg
diff --git a/modules/private/monitoring/conf/specific_backup-2.cfg b/modules/private/monitoring/conf/specific_backup-2.cfg
deleted file mode 100644 (file)
index ff91322..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-# vim: filetype=nagios
-
-define service {
-  service_description    Size on /backup2 partition
-  check_command          check_local_disk!10%!5%!/backup2
-  use                    local-service
-}
-
-define command {
-  command_line           /run/wrappers/bin/sudo -u "$ARG3$" $USER2$/check_last_file_date "$ARG1$" "$ARG2$"
-  command_name           check_last_file_date
-}
-
-define service {
-  service_description    Last backup in /backup2/phare is not too old
-  check_command          check_last_file_date!/backup2/phare!14!backup
-  use                    local-service
-}
-
-define service {
-  service_description    Last backup in /backup2/immae_eu is not too old
-  check_command          check_last_file_date!/backup2/immae_eu!14!backup
-  use                    local-service
-}
-
-define service {
-  service_description    Last backup in /backup2/immae_fr is not too old
-  check_command          check_last_file_date!/backup2/immae_fr!14!backup
-  use                    local-service
-}
-
-define service {
-  service_description    Last postgresql dump in /backup2/eldiron/postgresql_backup is not too old
-  check_command          check_last_file_date!/backup2/eldiron/postgresql_backup!7!postgres
-  use                    local-service
-}