diff options
-rw-r--r-- | nixos/hosts/ev/default.nix | 4 | ||||
-rw-r--r-- | nixos/hosts/tente/grafana.nix | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/nixos/hosts/ev/default.nix b/nixos/hosts/ev/default.nix index 9842f4f..4be836c 100644 --- a/nixos/hosts/ev/default.nix +++ b/nixos/hosts/ev/default.nix @@ -8,6 +8,7 @@ imports = [ ./hardware-configuration.nix <top/profiles/server> + <top/shared/monitoring.nix> <top/shared/tailscale.nix> <top/shared/basics-physical.nix> <top/shared/vpn.nix> @@ -19,6 +20,9 @@ home-automation.zigbee2mqttPort = 8080; torrent.qbittorrentWebUiPort = 7777; torrent.networkNamespace = "se"; + monitoring.alloyUiPort = 3001; + monitoring.lokiPort = 3030; + monitoring.prometheusNodeExporterPort = 9002; home-automation.zigbeeSerialPort = "/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_e2fed465c59ded11962fd7a5a7669f5d-if00-port0"; diff --git a/nixos/hosts/tente/grafana.nix b/nixos/hosts/tente/grafana.nix index e6fb7af..02d26c5 100644 --- a/nixos/hosts/tente/grafana.nix +++ b/nixos/hosts/tente/grafana.nix @@ -50,6 +50,17 @@ in access = "proxy"; url = "http://127.0.0.1:${toString config.services.loki.configuration.server.http_listen_port}"; } + { + name = "Prometheus Ev"; + type = "prometheus"; + url = "http://ev.tailnet:9090"; + } + { + name = "Loki Ev"; + type = "loki"; + access = "proxy"; + url = "http://ev.tailnet:3030"; + } ]; }; }; |