Hindsight-LXC: Gate (E14) nachgezogen – Image 0abbca1, keys.json per Ansible, Jobs über 8889, Blackbox-Probe auf /health
ci / test (pull_request) Failing after 23s
ci / test (push) Failing after 23s

nex-hindsight main (0abbca1, 22.10.) stellt ein Gate vor Port 8888: HINDSIGHT_API_URL für die
Jobs im LXC auf 127.0.0.1:8889, GATE_KEYS_DIR, keys.json (nur Hashes) aus ops
/root/.config/knaster/hindsight-gate-keys.json oder einmalig {}. Freigabeliste um Laptop-WLAN und
die k3s-Knoten (NEX-Pods, SNAT) ergänzt. /metrics liegt hinter dem Gate, deshalb Blackbox-Exporter
im Infra-Stack und Alert HindsightDown auf probe_success. Rulings 10–12 im Auftrag, BETRIEB §16.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit was merged in pull request #2.
This commit is contained in:
2026-10-26 14:07:24 +01:00
co-authored by Claude Fable 5.1
parent 7d889344bd
commit 068e05907d
8 changed files with 105 additions and 23 deletions
+9 -4
View File
@@ -45,13 +45,18 @@ scrape_configs:
- job_name: node
file_sd_configs: [{files: [/etc/knaster-sd/node.json]}]
# Hindsight-API im LXC hindsight (feste Adresse aus sites/knaster/proxmox.yaml). Liefert der Dienst kein
# /metrics, bleibt nur `up` für den Alert HindsightDown; dann Blackbox-Exporter nachrüsten.
# Hindsight im LXC hindsight (feste Adresse aus sites/knaster/proxmox.yaml): vor der API steht das Gate
# (nex-hindsight E14), das ohne Schlüssel nur /health beantwortet. Deshalb kein /metrics-Scrape, sondern der
# Blackbox-Exporter (Modul http_2xx, blackbox.yml) auf /health; Alert HindsightDown auf probe_success.
- job_name: hindsight
metrics_path: /metrics
metrics_path: /probe
params: {module: [http_2xx]}
static_configs:
- targets: ["192.168.100.185:8888"]
- targets: ["http://192.168.100.185:8888/health"]
labels: {instance: hindsight, pve_node: pve52, vmid: "102"}
relabel_configs:
- {source_labels: [__address__], target_label: __param_target}
- {target_label: __address__, replacement: "blackbox:9115"}
# node_exporter im LXC infra selbst (Host-Netz des LXC)
- job_name: infra-node