From 8607f49d3d1134f265db072c2fe311e52049bbe6 Mon Sep 17 00:00:00 2001 From: "Simon R. - fantomitechno" Date: Wed, 1 Jul 2026 10:31:13 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20grafana?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IPAM.md | 42 +++++++++++++++++----------------- modules/metrics/grafana.nix | 4 ++-- modules/metrics/prometheus.nix | 4 ++-- 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/IPAM.md b/IPAM.md index 9be2f9a..53b5bc8 100644 --- a/IPAM.md +++ b/IPAM.md @@ -57,7 +57,7 @@ Global DNS: `conseil.renoux.dev` | :--------------- | :--------------- | :------------------------ | | 22 | OpenSSH | | | 80, 443 | Caddy | | -| 3001 | Prometheus | | +| 3001, 3002 | Prometheus | | | 4000, 4001, 4002 | NFS | | | 4010 | Garage S3 API | `s3.fantom.internal` | | 4011 | Garage S3 Web UI | `s3.fantom.home` | @@ -67,23 +67,23 @@ Global DNS: `conseil.renoux.dev` Global DNS: `fant0mib0t.renoux.dev` -| Port Number | Service | DNS entry | -| :---------- | :-------------------------------------- | :-------------------------------------------- | -| 22 | OpenSSH (used for SSH and Tangled Knot) | | -| 80, 443 | Caddy | | -| 222 | Gitea SSH | | -| 2000 | Matrix | `matrix.fantomitechno.dev` | -| 2010 | Tranquill PDS | `pds.fantomitechno.dev` | -| 2020,2021 | Mastodon | `mastodon.fantomitechno.dev` | -| 3000 | Graphana | `graph.fantom.home` | -| 3001 | Prometheus | | -| 4000 | Tangled Knot | `knot.fantomitechno.dev` | -| 4005 | Gitea | `git.fantomitechno.dev` | -| 4010 | Tangled Spindle | `spindle.fantomitechno.dev` | -| 4020, 4021 | Cryptpad | `drive.renoux.dev`, `drive.s.renoux.dev` | -| 4030 | Kiwix | `kiwix.fantomitechno.dev`, `kiwix.renoux.dev` | -| | (redirection to Wikipedia .zim) | `wikipedia.renoux.dev` | -| 4040 | Immich | `photo.renoux.dev` | -| 4050 | Vaultwarden | `vault.renoux.dev` | -| 4060 | Paperless | `pdf.fantom.home` | -| 4070 | Affine | `notes.fantomitechno.dev` | +| Port Number | Service | DNS entry | +| :--------------- | :-------------------------------------- | :-------------------------------------------- | +| 22 | OpenSSH (used for SSH and Tangled Knot) | | +| 80, 443 | Caddy | | +| 222 | Gitea SSH | | +| 2000 | Matrix | `matrix.fantomitechno.dev` | +| 2010 | Tranquill PDS | `pds.fantomitechno.dev` | +| 2020,2021 | Mastodon | `mastodon.fantomitechno.dev` | +| 3000 | Graphana | `graph.fantom.home` | +| 3001, 3002, 3003 | Prometheus | | +| 4000 | Tangled Knot | `knot.fantomitechno.dev` | +| 4005 | Gitea | `git.fantomitechno.dev` | +| 4010 | Tangled Spindle | `spindle.fantomitechno.dev` | +| 4020, 4021 | Cryptpad | `drive.renoux.dev`, `drive.s.renoux.dev` | +| 4030 | Kiwix | `kiwix.fantomitechno.dev`, `kiwix.renoux.dev` | +| | (redirection to Wikipedia .zim) | `wikipedia.renoux.dev` | +| 4040 | Immich | `photo.renoux.dev` | +| 4050 | Vaultwarden | `vault.renoux.dev` | +| 4060 | Paperless | `pdf.fantom.home` | +| 4070 | Affine | `notes.fantomitechno.dev` | diff --git a/modules/metrics/grafana.nix b/modules/metrics/grafana.nix index 7b78ef0..7ce2f04 100644 --- a/modules/metrics/grafana.nix +++ b/modules/metrics/grafana.nix @@ -36,14 +36,14 @@ exporters.opnsense = { enable = true; opnsenseServerAddress = "https://routeur.fantom.home"; - port = 9001; + port = 3003; }; scrapeConfigs = [ { job_name = "opnsense"; static_configs = [ { - targets = [ "127.0.0.1:9001" ]; + targets = [ "127.0.0.1:3003" ]; } ]; } diff --git a/modules/metrics/prometheus.nix b/modules/metrics/prometheus.nix index 327a889..473fe2b 100644 --- a/modules/metrics/prometheus.nix +++ b/modules/metrics/prometheus.nix @@ -6,7 +6,7 @@ services.prometheus = { exporters.node = { enable = true; - port = 9000; + port = 3002; enabledCollectors = [ "cpu" "diskstats" @@ -31,7 +31,7 @@ job_name = hostname; static_configs = [ { - targets = [ "127.0.0.1:9000" ]; + targets = [ "127.0.0.1:3002" ]; } ]; } -- 2.54.0