Initial vault setup
This commit is contained in:
@@ -0,0 +1,143 @@
|
||||
---
|
||||
title: Netdata
|
||||
created: 2026-06-06
|
||||
updated: 2026-06-06
|
||||
type: app
|
||||
tags: [catalogue, monitoring, observability, c, real-time, auto-hebergement]
|
||||
confidence: high
|
||||
contested: false
|
||||
sources: [https://selfh.st/apps/?tag=Monitoring, https://github.com/netdata/netdata]
|
||||
---
|
||||
# 📊 Netdata
|
||||
|
||||
> **Monitoring temps réel ultra-détaillé** : métriques par-seconde, magnifiques dashboards, très faible overhead. Pour les amoureux des données.
|
||||
|
||||
## 📋 Informations Générales
|
||||
|
||||
| Champ | Valeur |
|
||||
| :--- | :--- |
|
||||
| **Site web** | [netdata.cloud](https://www.netdata.cloud/) |
|
||||
| **GitHub** | [netdata/netdata](https://github.com/netdata/netdata) |
|
||||
| **License** | GPL-3.0 |
|
||||
| **Langage** | C |
|
||||
| **Étoiles GitHub** | 79k ⭐ |
|
||||
| **Dernière MAJ** | 2026-06-06 |
|
||||
| **Catégorie** | [[cat-monitoring|Monitoring]], Observability |
|
||||
|
||||
## 📝 Description
|
||||
|
||||
**Netdata** est un **agent de monitoring open-source** qui collecte des **milliers de métriques par seconde** avec un overhead minimal. Caractéristiques :
|
||||
|
||||
- ✅ **Métriques temps réel** (par seconde, par CPU, par disque...)
|
||||
- ✅ **Dashboards magnifiques** et interactifs
|
||||
- ✅ **Auto-détection** des services (Docker, nginx, mysql, etc.)
|
||||
- ✅ **Alertes** configurables
|
||||
- ✅ **Export Prometheus** (compatible Grafana)
|
||||
- ✅ **ML pour anomaly detection** (depuis v1.32+)
|
||||
- ✅ **Distribué** : Netdata Parents/Children pour gros parcs
|
||||
- ✅ **Cloud option** (freemium) ou 100% self-hosted
|
||||
- ✅ **Très faible overhead** (~1-3% CPU)
|
||||
- ✅ **Zero config** : ça marche out-of-the-box
|
||||
|
||||
**Différence avec Prometheus** : Prometheus stocke et query. Netdata affiche en temps réel. Les deux sont **complémentaires** (Netdata peut exporter vers Prometheus).
|
||||
|
||||
## 🚀 Installation
|
||||
|
||||
### Option 1 : Docker Compose (recommandé)
|
||||
|
||||
```yaml
|
||||
# docker-compose.yml
|
||||
version: '3.8'
|
||||
services:
|
||||
netdata:
|
||||
image: netdata/netdata:latest
|
||||
container_name: netdata
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "19999:19999"
|
||||
volumes:
|
||||
- netdata-config:/etc/netdata
|
||||
- netdata-lib:/var/lib/netdata
|
||||
- netdata-cache:/var/cache/netdata
|
||||
- /proc:/host/proc:ro
|
||||
- /sys:/host/sys:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
cap_add:
|
||||
- SYS_PTRACE
|
||||
security_opt:
|
||||
- apparmor:unconfined
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.netdata.rule=Host(`netdata.example.com`)"
|
||||
- "traefik.http.routers.netdata.entrypoints=websecure"
|
||||
- "traefik.http.routers.netdata.tls.certresolver=letsencrypt"
|
||||
|
||||
volumes:
|
||||
netdata-config:
|
||||
netdata-lib:
|
||||
netdata-cache:
|
||||
```
|
||||
|
||||
### Option 2 : Script d'install (Linux natif)
|
||||
|
||||
```bash
|
||||
# One-liner install
|
||||
curl https://get.netdata.cloud/kickstart.sh > /tmp/netdata-kickstart.sh
|
||||
sh /tmp/netdata-kickstart.sh
|
||||
```
|
||||
|
||||
## ⚙️ Configuration Initiale
|
||||
|
||||
1. **Accéder au dashboard** : `http://IP:19999`
|
||||
2. **C'est déjà tout** : Netdata auto-détecte tout (CPU, RAM, disque, réseau, containers...)
|
||||
3. **Ajouter des services à monitorer** : il suffit d'installer le service (ex: nginx), Netdata le détecte
|
||||
4. **Configurer les alertes** : `/etc/netdata/health.d/`
|
||||
5. **Activer l'export Prometheus** (optionnel) : `prometheus: yes` dans `netdata.conf`
|
||||
|
||||
## 🔄 Alternatives
|
||||
|
||||
### Open Source
|
||||
- [[app-uptime-kuma]] — Plutôt uptime (est-ce down ?)
|
||||
- [[app-prometheus]] — Métriques + alerting (plus complexe)
|
||||
- [[app-glances]] — Monitoring système simple
|
||||
- **Prometheus + Grafana** — Stack pro
|
||||
|
||||
### Comparaison Netdata vs Prometheus
|
||||
|
||||
| Critère | Netdata | Prometheus |
|
||||
| :--- | :--- | :--- |
|
||||
| Affichage temps réel | ✅ Magnifique | ❌ (via Grafana) |
|
||||
| Stockage long terme | ❌ Court terme | ✅ TSDB |
|
||||
| Query language | ❌ GUI only | ✅ PromQL |
|
||||
| Alerting | ✅ | ✅ Alertmanager |
|
||||
| Alerting ML | ✅ (détection anomalies) | ❌ |
|
||||
| Scalabilité | ⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ |
|
||||
| Setup | 1 minute | ~1 heure |
|
||||
|
||||
**Verdict** :
|
||||
- **Netdata seul** pour visualiser en temps réel
|
||||
- **Prometheus + Grafana** pour la stack pro / long terme
|
||||
- **Les deux ensemble** : Netdata exporte vers Prometheus (best of both worlds)
|
||||
|
||||
### Propriétaires (ce que Netdata remplace)
|
||||
- **Datadog** (cher)
|
||||
- **New Relic** (cher)
|
||||
- **Dynatrace** (cher)
|
||||
|
||||
## 🔐 Sécurité
|
||||
|
||||
- **HTTPS** recommandé (via [[app-traefik]])
|
||||
- **Auth basique** (optionnelle)
|
||||
- **Alarms** pour les pics anormaux
|
||||
|
||||
## 📚 Ressources
|
||||
|
||||
- [Documentation officielle](https://learn.netdata.cloud/)
|
||||
- [GitHub netdata/netdata](https://github.com/netdata/netdata)
|
||||
- [Demo live](https://london.my-netdata.io/)
|
||||
|
||||
## Pages Liées
|
||||
- [[cat-monitoring]] — Catégorie Monitoring
|
||||
- [[app-prometheus]] — Pour stack pro
|
||||
- [[observabilite]] — Concepts
|
||||
- [[checklist-monitoring-minimal]] — Checklist
|
||||
Reference in New Issue
Block a user