User Tools

Site Tools


services:prometheus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
services:prometheus [2026/02/07 10:39] – Removed - consolidated adminservices: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://monitoring.home.miskam.xyz |
 +
 +===== Komponenten =====
 +
 +==== Prometheus ====
 +
 +Time-series Database für Metriken.
 +
 +<code>
 +/opt/prometheus/
 +├── prometheus           # Binary
 +├── prometheus.yml       # Config
 +└── data/                # TSDB
 +</code>
 +
 +==== Grafana ====
 +
 +Dashboards und Visualisierung.
 +
 +<code>
 +/var/lib/grafana/        # Data
 +/etc/grafana/            # Config
 +</code>
 +
 +===== 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
 +</code>
 +
 +===== Ansible =====
 +
 +<code bash>
 +ansible-playbook site.yml --limit monitoring
 +</code>
 +
 +===== Links =====
 +
 +  * [[https://prometheus.io/docs/|Prometheus Docs]]
 +  * [[https://grafana.com/docs/|Grafana Docs]]
 +  * [[infrastructure:monitoring|Monitoring Setup]]
  
services/prometheus.1770460780.txt.gz · Last modified: by admin