Skip to content

docs: guide de supervision (Grafana + Prometheus + alerting Discord) - #23

Merged
Jacob-dot-bit merged 1 commit into
mainfrom
docs-supervision
Jul 25, 2026
Merged

docs: guide de supervision (Grafana + Prometheus + alerting Discord)#23
Jacob-dot-bit merged 1 commit into
mainfrom
docs-supervision

Conversation

@Jacob-dot-bit

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings July 25, 2026 13:39
@Jacob-dot-bit
Jacob-dot-bit merged commit 62de3d0 into main Jul 25, 2026
1 check passed
@Jacob-dot-bit
Jacob-dot-bit deleted the docs-supervision branch July 25, 2026 13:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Cette PR ajoute une documentation de supervision (Grafana + Prometheus + alerting Discord) pour monitorer la VM CTFd et prévenir des incidents (ex. disque plein), et la référence depuis le README.

Changes:

  • Ajout d’une section “Supervision” dans le README pointant vers la nouvelle documentation.
  • Création d’un guide docs/SUPERVISION.md détaillant l’architecture, l’installation et l’alerting Discord.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
README.md Ajoute un pointeur vers la documentation de supervision.
docs/SUPERVISION.md Nouveau guide complet pour mettre en place Grafana/Prometheus + alerting Discord.
Comments suppressed due to low confidence (2)

docs/SUPERVISION.md:52

  • Même point : remplacer l'IP Tailscale réelle de la VM CTF dans l'exemple Prometheus par un placeholder (sinon la doc devient spécifique à l'environnement actuel et révèle l'adressage interne).
      - targets: ['100.118.132.76:9100']

docs/SUPERVISION.md:89

  • Même point : les URLs d'accès contiennent une IP Tailscale réelle. Remplacer par un placeholder (ex: <IP_TAILSCALE_GRAFANA_VM>) et/ou rappeler comment la récupérer via l'admin Tailscale, comme dans le README.
- **Grafana** : `http://100.84.158.83:3000` (via Tailscale). Changer le mot de passe admin par défaut.
- **Prometheus** : `http://100.84.158.83:9090`.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md

## Supervision

Le serveur CTFd est supervisé (métriques temps réel + alertes Discord) via une VM
Comment thread docs/SUPERVISION.md
@@ -0,0 +1,103 @@
# Supervision — RootMeUp

Supervision de la santé du serveur CTFd (métriques temps réel) + **alerting** vers
Comment thread docs/SUPERVISION.md
## Architecture

```
VM Grafana (Tailscale 100.84.158.83) VM CTF (100.118.132.76)
Comment thread docs/SUPERVISION.md
### 2. Sur la VM Grafana — Grafana + Prometheus
```bash
# Grafana (dépôt officiel)
sudo apt install -y apt-transport-https software-properties-common wget
Comment thread docs/SUPERVISION.md
Comment on lines +71 to +73
Dashboard **« Node Exporter Full » (ID 1860)** provisionné dans
`/var/lib/grafana/dashboards/` (télécharger depuis `grafana.com/api/dashboards/1860`,
remplacer `${DS_PROMETHEUS}` par `prometheus`).
@Jacob-dot-bit
Jacob-dot-bit restored the docs-supervision branch July 25, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants