diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-09-07 11:06:47 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-09-07 11:06:47 +0200 |
commit | 5ea246baa7afa72c44e0afa5122eaa61eb9c7e5c (patch) | |
tree | 49bc7f4e49af182e63593bee851d1d847371180a /modules | |
parent | c75b75a2e15cc6ea665e5e51629c528ebc31fcd3 (diff) | |
download | Nix-5ea246baa7afa72c44e0afa5122eaa61eb9c7e5c.tar.gz Nix-5ea246baa7afa72c44e0afa5122eaa61eb9c7e5c.tar.zst Nix-5ea246baa7afa72c44e0afa5122eaa61eb9c7e5c.zip |
Remove e-mails from monitoring files
Diffstat (limited to 'modules')
-rw-r--r-- | modules/private/monitoring/conf/contacts.cfg | 2 | ||||
-rw-r--r-- | modules/private/monitoring/default.nix | 4 |
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 |