diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-12-27 15:36:09 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-12-27 15:36:09 +0100 |
commit | 6ee7783682e977f3ceebfb5a8ee8ddd1db3f7cc6 (patch) | |
tree | 783f1331c900aa63575e1f1589b0659d75d928dd /modules/private/monitoring/objects_eldiron.nix | |
parent | a0d2610c6d727095a43672f6285d907db9b9e2ff (diff) | |
download | Nix-6ee7783682e977f3ceebfb5a8ee8ddd1db3f7cc6.tar.gz Nix-6ee7783682e977f3ceebfb5a8ee8ddd1db3f7cc6.tar.zst Nix-6ee7783682e977f3ceebfb5a8ee8ddd1db3f7cc6.zip |
Add monitoring for dilion and quatresaisons
Diffstat (limited to 'modules/private/monitoring/objects_eldiron.nix')
-rw-r--r-- | modules/private/monitoring/objects_eldiron.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/private/monitoring/objects_eldiron.nix b/modules/private/monitoring/objects_eldiron.nix index 92f997f..2c15dd6 100644 --- a/modules/private/monitoring/objects_eldiron.nix +++ b/modules/private/monitoring/objects_eldiron.nix | |||
@@ -19,6 +19,12 @@ in | |||
19 | check_command = ["check_postgresql_replication" "backup-2" "/run/postgresql" "5432"]; | 19 | check_command = ["check_postgresql_replication" "backup-2" "/run/postgresql" "5432"]; |
20 | } | 20 | } |
21 | { | 21 | { |
22 | passiveInfo = defaultPassiveInfo // { servicegroups = "webstatus-resources"; }; | ||
23 | service_description = "No ZFS pool is degraded"; | ||
24 | use = "local-service"; | ||
25 | check_command = ["check_zfs"]; | ||
26 | } | ||
27 | { | ||
22 | passiveInfo = defaultPassiveInfo // { servicegroups = "webstatus-email"; }; | 28 | passiveInfo = defaultPassiveInfo // { servicegroups = "webstatus-email"; }; |
23 | service_description = "mailq is empty"; | 29 | service_description = "mailq is empty"; |
24 | use = "local-service"; | 30 | use = "local-service"; |