Repository navigation
Metrics
EN | FR | 🟣 MIND | module secubox-metrics
Metrics tells you, at a glance, whether the box is healthy and who is visiting your sites. It has two pages (an overview and a per-site page), two world maps, a PDF attendance report in the Aurora reference style, a daily security report, and optional delivery by mail.

Sections, top to bottom:
| Section | What it shows |
|---|---|
| Global health | one verdict for the box, also used by the portal banner |
| Resources | CPU, memory, disk, load, uptime, gauges and 24 h curves |
| Memory and load | memory and load history |
| Services and containers | state of services and LXC containers |
| Established TCP connections | live connection table |
| Traffic and WAF protection | requests and threats seen by the WAF |
| Origin of attacks / of visitors | world maps (see below) |
| Recent campaigns | attack campaigns detected by the WAF |
| Certificates | expiry of TLS certificates |
| Module health | one line per SecuBox module |
A figure with no measurement behind it is shown as « — », never as a reassuring zero. Temperature is shown as « — » because no route provides it. ?embed=1 hides the page chrome for use inside the Hall; ?demo=1 shows a demonstration notice.
The global health marks the WAF as running when the secubox-waf-ng service is active and port 8085 answers. The older check (a mitmproxy container or process) no longer exists and wrongly reported « WAF out of service » while sbxwaf was running. It is kept only as a fallback. See WAF.

| Block | Content |
|---|---|
| Site ranking | sorted and filterable list of vhosts |
| HTTP statuses | donut of response codes |
| Requests per site | bars per vhost |
| Origin and country of visits | world map and country list |
| Day-by-day attendance | histogram |
| Live hosts | requests per vhost over a recent window |
| Certificates | per-site expiry |
| Site detail (click a row) | visits and probes, return codes, browsers, visitor countries, most viewed pages, referrers, cumulative visits |
Periods are jour (1 day), semaine (7) and mois (30). Related domains of one site can be grouped into a single « family ». The page also offers log re-reading and the PDF report.
Both pages draw the same dot map as the WAF page of the Hall: a 120 × 60 grid of 3-degree cells and one bubble per country. The overview map « Origin of attacks » stays at « — » as long as the metrics API supplies no attack country.
The visitor countries over 7 days also feed the "inputs" map of the Interceptor page, drawn with the same dot map (secubox-interceptor 2.1.0). If the source is missing, that map stays empty and shows "—".
Built in the Aurora style: dark background, tiles (visits, visitors, requests, errors, bandwidth), day-by-day histogram, status donut, world map, site bars, browsers, referrers, countries and per-vhost detail.
- On demand: button on the Sites page, or
POST /api/v1/metrics/vhost-stats/rapport?periode=semaine(administrator token). Withoutenvoyer=truethe PDF is returned as a download; with it, the report is mailed. - Scheduled:
secubox-metrics-rapport-quotidien.timer(every day 05:00, last 7 days) andsecubox-metrics-rapport.timer(Mondays 07:00, last month). Nothing is sent until/etc/secubox/metrics.tomldeclares a family and a recipient:
[rapport.planifie]
famille = "exemple"
destinataire = "admin@exemple.test"
periode = "semaine"secubox-metrics-rapport-waf.timer runs every day at 05:30. The PDF has three sections: WAF, Actor Intelligence and DPI, in the style of the Hall views. Only real data appears: a silent source is shown as a dash with a « Measurements unavailable » line, and each section ends with definitions (unit, window, source). A stale DPI summary is flagged.
[rapport.waf]
destinataire = "securite@exemple.test"
jours = 7
format = "securite" # "waf" keeps the older single-topic PDFReports go through the local mail relay (the mail container) on port 25, without authentication, to an internal recipient. Setting smtp_user switches to authenticated submission. The SMTP timeout is 200 s because the relay may wait for the antivirus container to wake up. See Messagerie. There is no default recipient: a fresh box sends nothing.
| Feature | Detail |
|---|---|
| Memory history |
GET /api/v1/metrics/memory/history?heures=24; one sample every 5 min (7 days), alerts on kernel memory growth |
| Visitor origin |
GET /api/v1/metrics/visitor-origin (ASN, refreshed weekly) |
| Live hosts | GET /api/v1/metrics/live-hosts |
| Certificates |
GET /api/v1/metrics/cert-status (warning from 30 days) |
| Global health | GET /api/v1/metrics/health/summary |
Read routes are guarded by require_lecture; actions such as the report use require_jwt.
WAF · Interceptor · ThreatMesh · Messagerie · Cartes-du-Hall · MODULES-EN
SecuBox-Deb · Licence : CMSD-1.0 (Source-Disclosed)
Contact : CyberMind · Gérald Kerma · Notre-Dame-du-Cruet, Savoie
Hardware-Matrix · Acknowledgments · Wiki v2.5.0
SecuBox | FR | DE | 中文 | v3.0.0-alpha.12
- Home
- Architecture
- Trixie | FR
- Hardware-Matrix
- Roadmap
- Profils
- Modules-by-Profile 📦 lite / isp / full : ce qu'embarque chaque profil | FR
- Modules-by-Family 🗂️ les modules par famille | FR
- DNS-Filtrage
- Multiboot ⭐
-
Live-USB-VirtualBox
run-vbox.sh -
Live-USB-QEMU
run-qemu.sh - Live-USB | FR | DE | 中文
- Auto-Load 🚚 boxes sans écran | FR
- First-Boot-Premier-Pas 🧭 premier pas | FR
- Installation | FR | DE | 中文
- ARM-Installation | FR | DE | 中文
- Netboot-Install 🔧 MOCHAbin netboot + signed install
- ESPRESSObin | FR | DE | 中文
- Eye-Remote 📡
- Android-ToolBox 📱 one-tap R3
- Browser-Extension 🧩 cartographie
- QEMU-ARM64 🖥️
- Configuration | FR | DE | 中文
- Troubleshooting | FR | DE | 中文
- ToolBox 👁️ cabine numérique · rapport vie privée
- Anti-Track 🛡️ bloque · empoisonne · anonymise
- Billets 📮 micro-blog gateway · média vignette zoomable
- Messagerie 💬 mur public, messages privés, radio/Billets/BBS centralisés
- Identite-SBX-OS 🪪 personnes, appareils, comptes liés, connexion passive
- Metalogue 🕸️ OSINT suite · Maigret + SpiderFoot (Maltego-style)
- WAF 🛡️ pare-feu applicatif autonome (nft direct, hors-HTTP) | FR
- SOC 🎯 vues rassemblées | FR
- Actor-Intelligence 🕵️ acteurs, échelle de réponse | FR
- NAC 🔐 contrôle d'accès réseau | FR
- Webfilter 🧹 filtrage DNS par catégories et par appareil | FR
- Interceptor 🎯 supervision de l'inspection (sbxmitm, sbxwaf, nDPI) | FR
- Network-Modes 🌐 modes réseau, WAN, interfaces | FR
- Caches-and-Mirrors 💾 caches de la box et dépôt APT local | FR
- Portal 🚪 portail de session | FR
- Certificates 📜 certificats | FR
- Metrics 📊 mesures, sites, cartes, rapport PDF | FR
- SBX-OS 🧩 le Hall en application | FR
- Aurora-Design 🎨 design system admin | FR
- Admin-Panels-Gallery 🖼️ galerie des 37 pages | FR
- ThreatMesh 🛰️ blocklist souveraine (feeds + mesh, sans CAPI) | FR
- Modules 🇬🇧
- MODULES-FR 🇫🇷
- MODULES-DE 🇩🇪
- MODULES-ZH 🇨🇳
-
Operations-Runbook 🛠️ incidents | FR
-
API-Reference | FR | DE | 中文
- Multi-Agent-Worktree — un agent · une issue · une branche