diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-01-17 17:57:49 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-01-17 17:57:49 +0100 |
commit | ef0a9217fba817d7fb71ccd4cca65919dd89ebec (patch) | |
tree | 6b8cca88c68315a41362c577a7c545267365bccd /modules/private/monitoring/objects_monitoring-1.nix | |
parent | e6052491c138a418313d634ccd038d81337c6a24 (diff) | |
download | Nix-ef0a9217fba817d7fb71ccd4cca65919dd89ebec.tar.gz Nix-ef0a9217fba817d7fb71ccd4cca65919dd89ebec.tar.zst Nix-ef0a9217fba817d7fb71ccd4cca65919dd89ebec.zip |
Add e-mail relay monitoring for backup-2 and monitoring-1
Diffstat (limited to 'modules/private/monitoring/objects_monitoring-1.nix')
-rw-r--r-- | modules/private/monitoring/objects_monitoring-1.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/private/monitoring/objects_monitoring-1.nix b/modules/private/monitoring/objects_monitoring-1.nix index f69d3ff..3200d5c 100644 --- a/modules/private/monitoring/objects_monitoring-1.nix +++ b/modules/private/monitoring/objects_monitoring-1.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { config, pkgs, ... }: | 1 | { config, pkgs, hostFQDN, emailCheck, ... }: |
2 | { | 2 | { |
3 | host = { | 3 | host = { |
4 | # Dummy host for testing | 4 | # Dummy host for testing |
@@ -22,6 +22,8 @@ | |||
22 | # check_command = "check_critical"; | 22 | # check_command = "check_critical"; |
23 | # } | 23 | # } |
24 | 24 | ||
25 | (emailCheck "monitoring-1" hostFQDN) | ||
26 | |||
25 | { | 27 | { |
26 | service_description = "ftp has access to database for authentication"; | 28 | service_description = "ftp has access to database for authentication"; |
27 | host_name = "eldiron.immae.eu"; | 29 | host_name = "eldiron.immae.eu"; |