5 service_description = "Size on /backup2 partition";
7 check_command = ["check_local_disk" "10%" "5%" "/backup2"];
10 service_description = "Last backup in /backup2/phare is not too old";
11 use = "local-service";
12 check_command = ["check_last_file_date" "/backup2/phare" "14" "backup"];
15 service_description = "Last backup in /backup2/immae_eu is not too old";
16 use = "local-service";
17 check_command = ["check_last_file_date" "/backup2/immae_eu" "14" "backup"];
20 service_description = "Last backup in /backup2/immae_fr is not too old";
21 use = "local-service";
22 check_command = ["check_last_file_date" "/backup2/immae_fr" "14" "backup"];
25 service_description = "Last postgresql dump in /backup2/eldiron/postgresql_backup is not too old";
26 use = "local-service";
27 check_command = ["check_last_file_date" "/backup2/eldiron/postgresql_backup" "7" "postgres"];
30 service_description = "Redis replication for eldiron is up to date";
31 use = "local-service";
32 check_command = ["check_redis_replication" "/run/redis_eldiron/redis.sock"];
35 service_description = "Last redis dump in /backup2/eldiron/redis_backup is not too old";
36 use = "local-service";
37 check_command = ["check_last_file_date" "/backup2/eldiron/redis_backup" "7" "redis"];
40 service_description = "Mysql replication for eldiron is up to date";
41 use = "local-service";
42 check_command = ["check_mysql_replication" "/run/mysqld_eldiron/mysqld.sock" "/var/secrets/mysql_replication/eldiron/client"];
45 service_description = "Last mysql dump in /backup2/eldiron/mysql_backup is not too old";
46 use = "local-service";
47 check_command = ["check_last_file_date" "/backup2/eldiron/mysql_backup" "7" "mysql"];