Issue 1: finaler Agent-Job-Status
Management pollt jetzt offene Agent-Jobs und aktualisiert job_history mit: - finalem success / failed - Fehlertext - aktuellem/finalem Step - finishedAt - durationMs - Snapshot-ID aus den Agent-Logs, wenn ein Backup erfolgreich war Die Operations-Seite zeigt jetzt Dauer und Snapshot-ID. Issue 2: erweiterte Agent-Healthchecks /api/health am Agent prüft jetzt strukturiert: - fehlende Env-Konfiguration - Commands: incus, zfs, zpool, restic, udevadm, dd - ZFS Pool Existenz - ZFS Pool Capacity/Freespace via zpool list - /dev/zvol Zugriff - Restic Repository Zugriff
This commit is contained in:
1 parent
dc4989acfb
commit
87682a777f
8 files changed
+168
-26
No files matched your search
@@ -3,6 +3,7 @@ import express from 'express';
|
||||
import { config } from './config.js';
|
||||
import { migrate } from './db.js';
|
||||
import { requireAuth } from './auth.js';
|
||||
import { startJobPoller } from './jobPoller.js';
|
||||
import { authRouter } from './routes/auth.js';
|
||||
import { nodesRouter } from './routes/nodes.js';
|
||||
import { operationsRouter } from './routes/operations.js';
|
||||
@@ -33,3 +34,4 @@ app.listen(config.port, () => {
|
||||
});
|
||||
|
||||
startScheduler();
|
||||
startJobPoller();
|
||||
Reference in new issue
Block a user