Files
0012/todo/06-site-0012-landing.md
Frank Schwenk 85ab829805 feat: add monitoring dashboard under /monitor/
Status page and JSON API read from private/data; root index.php stays a placeholder. Mark todo 06 done.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 15:22:00 +02:00

1.3 KiB

06 — Status-Dashboard unter /monitor/

Priorität: medium
Status: erledigt (2026-06-12)
Abhängigkeiten: 03 (liefert last-checks.json)
Konzept: ../SITE.md

Ziel

Öffentliche, minimale Statusseite unter /monitor/ — Live-Status aus Monitoring-Daten. Root (index.php) bleibt Baustellen-Platzhalter für eine spätere eigenständige Website.

Checkliste

  • public/monitor/index.php — liest private/data/last-checks.json + boka-status.json
  • config/status-view.php — gemeinsame Aufbereitung für HTML + JSON
  • Raster: Kacheln, Farbe nach Status (ok / warn / down)
  • boka-Heartbeat-Zeile („last push X min ago“)
  • Dark-Theme CSS inline
  • Graceful fallback wenn JSON fehlt („Monitoring not initialized“)
  • Keine sensiblen Daten (Tokens, IPs, interne Test-Targets _…)
  • public/monitor/status.php read-only JSON-API (+ .htaccess → status.json)
  • Meta: noindex (Ops-Seite, keine SEO)

Akzeptanzkriterien

  • https://0012.de/monitor/ zeigt aktuellen Status nach Cron-Lauf
  • https://0012.de/ bleibt unveränderte Baustellenseite
  • Seite lädt ohne JavaScript
  • Mobile lesbar

Nicht im Scope

  • Monitoring auf public/index.php
  • Blog, CMS, WordPress
  • Link von Root zur Ops-Seite