diff options
Diffstat (limited to 'modules/private/monitoring/objects_eldiron.nix')
-rw-r--r-- | modules/private/monitoring/objects_eldiron.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/private/monitoring/objects_eldiron.nix b/modules/private/monitoring/objects_eldiron.nix new file mode 100644 index 0000000..897fc15 --- /dev/null +++ b/modules/private/monitoring/objects_eldiron.nix | |||
@@ -0,0 +1,15 @@ | |||
1 | { ... }: | ||
2 | { | ||
3 | service = [ | ||
4 | { | ||
5 | service_description = "Postgresql replication for backup-2 is up to date"; | ||
6 | use = "local-service"; | ||
7 | check_command = ["check_postgresql_replication" "backup-2" "/run/postgresql" "5432"]; | ||
8 | } | ||
9 | { | ||
10 | service_description = "mailq is empty"; | ||
11 | use = "local-service"; | ||
12 | check_command = ["check_mailq"]; | ||
13 | } | ||
14 | ]; | ||
15 | } | ||