aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/private/monitoring/conf/contacts.cfg2
-rw-r--r--modules/private/monitoring/default.nix4
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/private/monitoring/conf/contacts.cfg b/modules/private/monitoring/conf/contacts.cfg
index e088f69..b6ea84d 100644
--- a/modules/private/monitoring/conf/contacts.cfg
+++ b/modules/private/monitoring/conf/contacts.cfg
@@ -12,7 +12,7 @@ define contactgroup {
12# contact_name immae 12# contact_name immae
13# alias Immae 13# alias Immae
14# use generic-contact 14# use generic-contact
15# email ismael@bouya.org 15# email xxxxxxxxxxxxxxxx
16# } 16# }
17# 17#
18# define contact { 18# define contact {
diff --git a/modules/private/monitoring/default.nix b/modules/private/monitoring/default.nix
index 11861ad..d99124e 100644
--- a/modules/private/monitoring/default.nix
+++ b/modules/private/monitoring/default.nix
@@ -41,7 +41,7 @@ in
41 enable = true; 41 enable = true;
42 mode = "0644"; 42 mode = "0644";
43 user = "root"; 43 user = "root";
44 text = "MAILADDR naemon@immae.eu"; 44 text = "MAILADDR ${myconfig.env.monitoring.email}";
45 }; 45 };
46 46
47 # needed since extraResource is not in the closure 47 # needed since extraResource is not in the closure
@@ -53,7 +53,7 @@ in
53 use_syslog=1 53 use_syslog=1
54 log_initial_states=1 54 log_initial_states=1
55 date_format=iso8601 55 date_format=iso8601
56 admin_email=naemon@immae.eu 56 admin_email=${myconfig.env.monitoring.email}
57 57
58 obsess_over_services=1 58 obsess_over_services=1
59 ocsp_command=notify-master 59 ocsp_command=notify-master