--json-Modus + Doku HTTP-Endpunkt (192.168.0.250:8090) und Homepage-customapi-Widget

This commit is contained in:
wralto-user-1
2026-11-28 18:42:05 +01:00
parent 820e906926
commit b35f5ec483
2 changed files with 29 additions and 1 deletions

View File

@ -26,3 +26,11 @@ Exit-Code 0 = alles ok, 1 = Auffälligkeiten (werden mit `!!` markiert).
- apt: aktualisierbare Pakete
- pveproxy-Logs: externe IPs, Auth-Fehlversuche
- proxi-healthcheck.timer aktiv
## JSON-Endpunkt auf proxi (fuer Homepage-Widget)
- Skript installiert als `/usr/local/bin/proxi-status.sh`; `--json` schreibt `/usr/local/share/proxi-status/status.json`
- Mini-HTTP-Endpunkt: `/usr/local/bin/proxi-status-http.py` als `proxi-status-http.service` auf **192.168.0.250:8090** — liefert `status.json` mit HTTP 200 (ok) bzw. 503 (Problem)
- Aktualisierung alle 5 Min. via `proxi-status-json.timer`
- Homepage-Widget (VM 105, `services.yaml`, Eintrag „Proxmox“):
`type: customapi`, `url: http://192.168.0.250:8090/status.json`, mappings auf `summary`/`warnings`