X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fprivate%2Fmonitoring%2Fdefault.nix;h=d99124e836da9511f957b227a34924580a27422f;hb=5ea246baa7afa72c44e0afa5122eaa61eb9c7e5c;hp=11861ad17ef769ab25873fe9df42219d8299e46b;hpb=c75b75a2e15cc6ea665e5e51629c528ebc31fcd3;p=perso%2FImmae%2FConfig%2FNix.git 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 enable = true; mode = "0644"; user = "root"; - text = "MAILADDR naemon@immae.eu"; + text = "MAILADDR ${myconfig.env.monitoring.email}"; }; # needed since extraResource is not in the closure @@ -53,7 +53,7 @@ in use_syslog=1 log_initial_states=1 date_format=iso8601 - admin_email=naemon@immae.eu + admin_email=${myconfig.env.monitoring.email} obsess_over_services=1 ocsp_command=notify-master