diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-07-19 23:06:18 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-07-19 23:06:18 +0200 |
| commit | 4f35c2286be727b500a08c95055cf076552e6b07 (patch) | |
| tree | 21e06b007f7a7b449c7a70550cda34e8d5e8c0d3 /hosts | |
| parent | modules/monitoring/grafana/dashboards/systemd_exporter: Fix typo (diff) | |
| download | nixos-server-4f35c2286be727b500a08c95055cf076552e6b07.zip | |
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/by-name/server2/configuration.nix | 3 | ||||
| -rw-r--r-- | hosts/by-name/server3/configuration.nix | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/hosts/by-name/server2/configuration.nix b/hosts/by-name/server2/configuration.nix index 2e04324..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"; 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; |
