monitoring: add Loki + Alloy log aggregation to portmap
Loki (CT 109 :3100, 30d retention) and Grafana Alloy deployed across all 12 hosts. Portmap updated with new services and agent deployment notes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+11
-2
@@ -8,9 +8,11 @@
|
||||
|
||||
| Range | Category |
|
||||
|---|---|
|
||||
| 3100 | Loki (log aggregation) |
|
||||
| 9090 | Prometheus (monitoring) |
|
||||
| 9091 | Grafana (monitoring) |
|
||||
| 9100 | node-exporter (host metrics) |
|
||||
| 12345 | Alloy (log agent UI) |
|
||||
| 10000–10999 | Infrastructure |
|
||||
| 11000–11999 | Security & Auth |
|
||||
| 12000–12999 | Media – Immich |
|
||||
@@ -31,13 +33,20 @@
|
||||
| Port | Host | Service | Notes |
|
||||
|---|---|---|---|
|
||||
| [9090](http://192.168.1.8:9090) | CT 109 | Prometheus | LAN only; 90d retention |
|
||||
| [3000](http://192.168.1.8:3000) | CT 109 | Grafana | LAN only; admin/tapirnase; import dashboard ID 21501 for LiteLLM |
|
||||
| [3000](http://192.168.1.8:3000) | CT 109 | Grafana | LAN only; admin/tapirnase |
|
||||
| [3100](http://192.168.1.8:3100) | CT 109 | Loki | LAN only; 30d retention; log aggregation |
|
||||
| [12345](http://192.168.1.8:12345) | CT 109 | Alloy (self) | agent UI; also runs on all other hosts at :12345 |
|
||||
| 9100 | CT 109 | node-exporter | host-network, self-scrape |
|
||||
| 9100 | CT 104 | node-exporter | standalone stack `/opt/stacks/monitoring/`; scraped by CT 109 |
|
||||
|
||||
Scrape targets (CT 109 Prometheus): `litellm` CT104:14000/metrics/ (bearer sk-tapirnase), `node-ct104` :9100, `node-ct109` :9100, `prometheus` self.
|
||||
Scrape targets (CT 109 Prometheus): `litellm` CT104:14000/metrics/ (bearer sk-tapirnase), `node-ct104` :9100, `node-ct109` :9100, `home-assistant` 192.168.1.60:8123/api/prometheus (HA token), `prometheus` self.
|
||||
LiteLLM metrics: `litellm_settings.callbacks: ["prometheus"]` in `ai/litellm-config/config.yaml`.
|
||||
|
||||
**Alloy (log agent)**: deployed on all 12 hosts → ships to Loki at CT 109:3100.
|
||||
- Docker hosts (CT 101/104/105/109/110/111/112/113): container at `/opt/stacks/alloy/`; reads Docker socket + journald
|
||||
- Binary/systemd (CT 102/103/108 + nuc): `/etc/alloy/config.alloy`; reads journald only
|
||||
- HA VM 100: pending — install Promtail add-on from `https://github.com/mdegat01/hassio-addons`; set Loki URL to `http://192.168.1.8:3100/loki/api/v1/push`
|
||||
|
||||
---
|
||||
|
||||
## Infrastructure (10000–10999)
|
||||
|
||||
Reference in New Issue
Block a user