diff options
Diffstat (limited to '')
| -rw-r--r-- | hosts/by-name/server2/configuration.nix | 4 | ||||
| -rw-r--r-- | hosts/by-name/server3/configuration.nix | 11 |
2 files changed, 14 insertions, 1 deletions
diff --git a/hosts/by-name/server2/configuration.nix b/hosts/by-name/server2/configuration.nix index d772bcd..c26b896 100644 --- a/hosts/by-name/server2/configuration.nix +++ b/hosts/by-name/server2/configuration.nix @@ -29,6 +29,9 @@ monitoring = { enable = true; + prometheus = { + remoteWriteReceiver = "prometheus-server2.vhack.eu"; + }; grafana = { fqdn = "grafana.vhack.eu"; @@ -36,7 +39,6 @@ adminPassword = ./secrets/grafana/adminPassword.age; secretKey = ./secrets/grafana/secretKey.age; }; - scrutiny.fqdn = "scrutiny.vhack.eu"; }; dns = { diff --git a/hosts/by-name/server3/configuration.nix b/hosts/by-name/server3/configuration.nix index 5960932..f7ee7d3 100644 --- a/hosts/by-name/server3/configuration.nix +++ b/hosts/by-name/server3/configuration.nix @@ -20,6 +20,17 @@ ]; zones = import ../../../zones {inherit lib;}; }; + + monitoring = { + prometheus = { + enable = true; + remoteWriteTo = { + url = "https://prometheus-server2.vhack.eu"; + }; + }; + # TODO: Also provide something for Loki <2026-07-19> + }; + fail2ban.enable = true; rocie = { enable = true; |
