services:prometheus
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| services:prometheus [2026/02/07 10:39] – Removed - consolidated admin | services:prometheus [2026/02/08 08:35] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Prometheus + Grafana ====== | ||
| + | |||
| + | Metrics Collection und Visualisierung. | ||
| + | |||
| + | ===== Details ===== | ||
| + | |||
| + | ^ Key ^ Value ^ | ||
| + | | Container | CT 115 | | ||
| + | | IP | 10.100.161.115 | | ||
| + | | Prometheus Port | 9090 | | ||
| + | | Grafana Port | 3000 | | ||
| + | | RAM | 1 GB | | ||
| + | | URL | https:// | ||
| + | |||
| + | ===== Komponenten ===== | ||
| + | |||
| + | ==== Prometheus ==== | ||
| + | |||
| + | Time-series Database für Metriken. | ||
| + | |||
| + | < | ||
| + | / | ||
| + | ├── prometheus | ||
| + | ├── prometheus.yml | ||
| + | └── data/ # TSDB | ||
| + | </ | ||
| + | |||
| + | ==== Grafana ==== | ||
| + | |||
| + | Dashboards und Visualisierung. | ||
| + | |||
| + | < | ||
| + | / | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | ===== Targets ===== | ||
| + | |||
| + | Alle Hosts laufen **node_exporter** auf Port 9100: | ||
| + | |||
| + | ^ Host ^ IP ^ | ||
| + | | prometheus | 10.100.161.115 | | ||
| + | | openclaw | 10.100.160.249 | | ||
| + | | traefik | 10.100.161.102 | | ||
| + | | postgres | 10.100.161.110 | | ||
| + | | n8n | 10.100.161.111 | | ||
| + | | vaultwarden | 10.100.161.112 | | ||
| + | | dokuwiki | 10.100.161.113 | | ||
| + | | uptime-kuma | 10.100.161.114 | | ||
| + | | forgejo | 10.100.161.116 | | ||
| + | | hv-04 | 10.100.160.100 | | ||
| + | |||
| + | ===== Dashboards ===== | ||
| + | |||
| + | Empfohlene Grafana Dashboards: | ||
| + | |||
| + | ^ Name ^ ID ^ | ||
| + | | Node Exporter Full | 1860 | | ||
| + | | Docker | 893 | | ||
| + | | PostgreSQL | 9628 | | ||
| + | |||
| + | Import: Grafana → Dashboards → Import → ID eingeben | ||
| + | |||
| + | ===== Service ===== | ||
| + | |||
| + | <code bash> | ||
| + | systemctl status prometheus grafana-server | ||
| + | </ | ||
| + | |||
| + | ===== Ansible ===== | ||
| + | |||
| + | <code bash> | ||
| + | ansible-playbook site.yml --limit monitoring | ||
| + | </ | ||
| + | |||
| + | ===== Links ===== | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[infrastructure: | ||
services/prometheus.1770460780.txt.gz · Last modified: by admin
