@extends('layouts.dvx') @section('title', 'Dashboard · Mailwolt') @section('breadcrumb-parent', 'Dashboard') @section('breadcrumb', 'Übersicht') @section('content') {{-- Hero Banner --}}
Mail Server
Postfix Dovecot Rspamd OpenDKIM ClamAV
{{ $domainCount ?? 0 }}
Domains
{{ $mailboxCount ?? 0 }}
Postfächer
{{ $servicesActive ?? 0 }}/{{ $servicesTotal ?? 0 }}
Dienste
{{ $alertCount ?? 0 }}
Warnungen
{{ $mailHostname ?? gethostname() }}
{{-- System-Ressourcen --}}
System-Ressourcen
@php $cpuClass = ($cpu ?? 0) > 80 ? 'mw-bar-high' : (($cpu ?? 0) > 50 ? 'mw-bar-mid' : 'mw-bar-low'); @endphp
CPU
{{ $cpu ?? 0 }}%
{{ $cpuCores ?? '—' }} Cores · {{ $cpuMhz ?? '—' }} GHz
@php $ramClass = ($ramPercent ?? 0) > 80 ? 'mw-bar-high' : (($ramPercent ?? 0) > 50 ? 'mw-bar-mid' : 'mw-bar-low'); @endphp
RAM
{{ $ramPercent ?? 0 }}%
{{ $ramUsed ?? '—' }} GB / {{ $ramTotal ?? '—' }} GB
@php $loadVal = floatval($load1 ?? 0); $loadMax = max(1, $cpuCores ?? 4); $loadPct = min(100, round($loadVal / $loadMax * 100)); $loadClass = $loadPct > 80 ? 'mw-bar-high' : ($loadPct > 50 ? 'mw-bar-mid' : 'mw-bar-low'); @endphp
Load
{{ $load1 ?? '0.00' }}
{{ $load5 ?? '—' }} · {{ $load15 ?? '—' }} (1/5/15m)
Uptime
{{ $uptimeDays ?? 0 }}d {{ $uptimeHours ?? 0 }}h
Stabil · kein Neustart
{{-- Dienste & Schutz --}}
Dienste & Schutz
WoltGuard
System-Wächter
alle Dienste OK
{{ $servicesActive ?? 0 }}/{{ $servicesTotal ?? 0 }} Dienste aktiv
Updates
{{ config('app.version', 'vdev') }}
aktuell
System ist auf dem neuesten Stand.
Backup
Letztes: {{ $lastBackup ?? '—' }}
unbekannt
Größe: {{ $backupSize ?? '—' }} · Dauer: {{ $backupDuration ?? '—' }}
Alerts
System-Warnungen
{{ $alertCount ?? 0 }} offen
{{ ($alertCount ?? 0) === 0 ? 'Keine Warnungen.' : ($alertCount . ' aktive Warnungen.') }}
{{-- Infrastruktur --}}
Infrastruktur
Dienste & Ports
@foreach($services ?? [] as $svc) @if($loop->index < 4)
{{ $svc['name'] }} {{ $svc['type'] }}
{{ $svc['online'] ? 'Online' : 'Offline' }}
@endif @endforeach
@foreach($services ?? [] as $svc) @if($loop->index >= 4)
{{ $svc['name'] }} {{ $svc['type'] }}
{{ $svc['online'] ? 'Online' : 'Offline' }}
@endif @endforeach
@foreach([25, 465, 587, 110, 143, 993, 995, 80, 443] as $port) :{{ $port }} @endforeach
Storage
{{ $diskUsedPercent ?? 0 }}%
Belegt
{{ $diskUsedGb ?? '—' }} GB
Frei
{{ $diskFreeGb ?? '—' }} GB
Gesamt
{{ $diskTotalGb ?? '—' }} GB
Mail & Sicherheit
{{ $bounceCount ?? 0 }}
Bounces
{{ $spamCount ?? 0 }}
Spam
OK
RBL
@endsection