diff options
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"; |