@extends('layouts.user_type.auth') @section('pageActions') Run checks again @endsection @section('systemHealth') @php $tone = ['ok' => 'success', 'warn' => 'warning', 'fail' => 'danger', 'info' => 'info']; $icon = ['ok' => 'ri-checkbox-circle-line', 'warn' => 'ri-error-warning-line', 'fail' => 'ri-close-circle-line', 'info' => 'ri-information-line']; $groupIcon = ['Backups' => 'ri-database-2-line', 'Infrastructure' => 'ri-server-line', 'Security' => 'ri-shield-keyhole-line', 'Activity' => 'ri-user-follow-line']; $groupTone = ['Backups' => '', 'Infrastructure' => 'z-icon-tile--info', 'Security' => 'z-icon-tile--violet', 'Activity' => 'z-icon-tile--warning']; $headline = ['ok' => 'All systems healthy', 'warn' => 'Healthy, with a few warnings', 'fail' => 'Action needed']; @endphp
@include('components.alert') {{-- overall --}}
{{ $summary['score'] }}%
Overall status

{{ $headline[$summary['overall']] }}

Checked {{ $summary['checked_at']->format('d M Y, H:i:s') }} · backups, databases, disk, queue, cron, logs and security settings.

{{ $summary['ok'] }} passed {{ $summary['warn'] }} warnings {{ $summary['fail'] }} failed
@foreach($groups as $group => $checks) @php $bad = collect($checks)->whereIn('status', ['fail'])->count(); $warn = collect($checks)->where('status', 'warn')->count(); @endphp
{{ $group }}
{{ count($checks) }} checks
{{ $bad ? $bad.' failed' : ($warn ? $warn.' warning'.($warn>1?'s':'') : 'All good') }}
    @foreach($checks as $c)
  • {{ $c['label'] }}
    @if($c['hint'])
    {{ $c['hint'] }}
    @endif
    {{ $c['value'] }}
  • @endforeach
@endforeach
Uptime monitoring

Point Google Cloud Monitoring (uptime check) at {{ url('/api/health') }} — it returns 200 when the app and database are up, 503 otherwise, and exposes no private details.

@if(hasPermission('backupLog', 'view')) Open backups @endif
@endsection