]>
Commit | Line | Data |
---|---|---|
1 | { ... }: | |
2 | { | |
3 | service = [ | |
4 | { | |
5 | service_description = "Size on /backup2 partition"; | |
6 | use = "local-service"; | |
7 | check_command = ["check_local_disk" "10%" "5%" "/backup2"]; | |
8 | } | |
9 | { | |
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"]; | |
13 | } | |
14 | { | |
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"]; | |
18 | } | |
19 | { | |
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"]; | |
23 | } | |
24 | { | |
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"]; | |
28 | } | |
29 | { | |
30 | service_description = "Last mysql dump in /backup2/eldiron/mysql_backup is not too old"; | |
31 | use = "local-service"; | |
32 | check_command = ["check_last_file_date" "/backup2/eldiron/mysql_backup" "7" "mysql"]; | |
33 | } | |
34 | ]; | |
35 | } |