Seite nicht gefunden

Die angeforderte Seite existiert nicht.

Zurück zur Startseite

'; require __DIR__ . '/includes/footer_customer.php'; exit; } $states = status_component_states(); $overall = status_overall($pdo); $components = status_components($pdo); foreach ($components as &$component) { $component['timeline'] = status_component_timeline($pdo, (int) $component['id'], 30); } unset($component); $incidents = status_incidents($pdo, 14); $open = array_values(array_filter($incidents, fn($i) => $i['status'] !== 'resolved')); $past = array_values(array_filter($incidents, fn($i) => $i['status'] === 'resolved')); $incStates = status_incident_states(); if (($_GET['live'] ?? '') === '1') { header('Content-Type: application/json; charset=utf-8'); header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0'); $liveComponents = []; foreach ($components as $component) { $componentState = $states[$component['status']] ?? $states['operational']; $liveComponents[] = [ 'id' => (int) $component['id'], 'status' => (string) $component['status'], 'statusLabel' => (string) $componentState[0], 'color' => (string) $componentState[1], 'uptime' => $component['timeline']['uptime'], 'bars' => array_map(static function (array $bar) use ($states): array { $key = $bar['status']; return [ 'date' => (string) $bar['date'], 'status' => $key, 'label' => $key !== null ? (string) ($states[$key][0] ?? $key) : 'Keine Daten', 'color' => $key !== null ? (string) ($states[$key][1] ?? '#cbd5e1') : '#dfe4e8', ]; }, $component['timeline']['bars']), ]; } $liveIncidents = []; foreach ($open as $incident) { $liveIncidents[] = [ 'title' => (string) $incident['title'], 'statusLabel' => (string) ($incStates[$incident['status']] ?? $incident['status']), 'componentName' => (string) ($incident['component_name'] ?? ''), 'updates' => array_map(static fn(array $update): array => [ 'statusLabel' => (string) ($incStates[$update['status']] ?? $update['status']), 'createdAt' => format_dt((string) $update['created_at']), 'body' => (string) ($update['body'] ?? ''), ], $incident['updates']), ]; } echo json_encode([ 'updatedAt' => date('d.m.Y H:i:s'), 'overall' => $overall, 'components' => $liveComponents, 'incidents' => $liveIncidents, ], JSON_UNESCAPED_UNICODE | JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_AMP | JSON_HEX_QUOT); exit; } header('Cache-Control: no-cache, no-store, must-revalidate'); require __DIR__ . '/includes/header_customer.php'; ?>

Stand: Uhr · Live-Aktualisierung aktiv
Betrifft:
·

Es sind noch keine Dienste eingetragen.

$group): ?>

$c): $st = $states[$c['status']] ?? $states['operational']; ?>
Letzte PrüfungenJetzt
$stateMeta): ?> Keine Daten

Vergangene Meldungen (letzte 14 Tage)

Keine Störungen in den letzten 14 Tagen.

· · behoben