feat: Flatten stack structure - all stacks directly in stacks/
- Removed all subdirectories - Renamed compose.yml to <stack>-compose.yml - Updated stack.toml to reference new compose file names - Structure is now flat for easier Komodo sync New structure: stacks/ ├── prometheus.toml ├── prometheus-compose.yml ├── grafana.toml ├── grafana-compose.yml ├── gotify.toml ├── gotify-compose.yml ├── vaultwarden.toml ├── vaultwarden-compose.yml └── node-exporter.toml └── node-exporter-compose.yml
This commit is contained in:
parent
2ee82c24e1
commit
f0bcf8c70c
15 changed files with 5 additions and 348 deletions
|
|
@ -1,63 +0,0 @@
|
|||
# Node Exporter
|
||||
|
||||
📈 **System-Metriken für Prometheus**
|
||||
|
||||
Node Exporter sammelt Hardware- und Betriebssystem-Metriken.
|
||||
|
||||
---
|
||||
|
||||
## 🚀 Quick Start
|
||||
|
||||
1. **In Komodo:** Stack auswählen → Deploy
|
||||
2. **Server wählen** (wo Prometheus läuft)
|
||||
3. **Warten** bis Container läuft
|
||||
4. **In Prometheus** als Target hinzufügen
|
||||
|
||||
---
|
||||
|
||||
## 🔧 Prometheus Integration
|
||||
|
||||
In Prometheus Config (`prometheus.yml`):
|
||||
|
||||
```yaml
|
||||
scrape_configs:
|
||||
- job_name: 'node-exporter'
|
||||
static_configs:
|
||||
- targets: ['localhost:9100']
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🔐 Secrets
|
||||
|
||||
Keine Secrets erforderlich.
|
||||
|
||||
---
|
||||
|
||||
## 📁 Files
|
||||
|
||||
- `compose.yml` - Docker Compose Konfiguration
|
||||
|
||||
---
|
||||
|
||||
## 📊 Metriken
|
||||
|
||||
Node Exporter exposed Metriken auf Port 9100:
|
||||
- CPU Usage
|
||||
- Memory Usage
|
||||
- Disk I/O
|
||||
- Network I/O
|
||||
- System Load
|
||||
|
||||
---
|
||||
|
||||
## 🔄 Updates
|
||||
|
||||
Wird automatisch aktuell gehalten durch Komodo.
|
||||
|
||||
---
|
||||
|
||||
## 📞 Support
|
||||
|
||||
- **GitHub:** https://github.com/prometheus/node_exporter
|
||||
- **Docs:** https://prometheus.io/docs/guides/node-exporter/
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
services:
|
||||
node-exporter:
|
||||
image: prom/node-exporter:latest
|
||||
container_name: node-exporter
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:9100:9100"
|
||||
volumes:
|
||||
- /proc:/host/proc:ro
|
||||
- /sys:/host/sys:ro
|
||||
- /:/rootfs:ro
|
||||
command:
|
||||
- '--path.procfs=/host/proc'
|
||||
- '--path.sysfs=/host/sys'
|
||||
- '--path.rootfs=/rootfs'
|
||||
- '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
|
||||
networks:
|
||||
- monitoring
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:9100/metrics"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
|
||||
networks:
|
||||
monitoring:
|
||||
driver: bridge
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
[stack]
|
||||
name = "Node Exporter"
|
||||
description = "System-Metriken für Prometheus"
|
||||
version = "1.0.0"
|
||||
category = "monitoring"
|
||||
author = "nocci"
|
||||
|
||||
[compose]
|
||||
file = "compose.yml"
|
||||
|
||||
[variables]
|
||||
# Keine Secrets erforderlich
|
||||
|
||||
[ports]
|
||||
node_exporter = "9100"
|
||||
|
||||
[healthcheck]
|
||||
endpoint = "http://localhost:9100/metrics"
|
||||
interval = "30s"
|
||||
timeout = "10s"
|
||||
retries = 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue