@extends('layouts.app') @section('content')

System Health

Pre-deployment readiness check and runtime diagnostics.
@php $passCount = collect($checks)->where('status', 'pass')->count(); $warnCount = collect($checks)->where('status', 'warn')->count(); $failCount = collect($checks)->where('status', 'fail')->count(); $totalChecks = count($checks); @endphp
Total Checks
{{ $totalChecks }}
Passed
{{ $passCount }}
Warnings
{{ $warnCount }}
Issues
{{ $failCount }}
@if($failCount === 0 && $warnCount === 0)
System is READY for deployment. All checks passed.
@elseif($failCount > 0)
{{ $failCount }} critical issue(s) found. Resolve these before deploying to production.
@else
{{ $warnCount }} warning(s). Review but not blocking deployment.
@endif
@foreach($checks as $key => $check) @endforeach
Check Status Action
@if($check['status'] === 'pass') @elseif($check['status'] === 'warn') @else @endif
{{ $check['label'] }}
{{ $check['message'] }}
@if($check['status'] === 'pass') Pass @elseif($check['status'] === 'warn') Warning @else Fail @endif @if(!empty($check['fix_action'])) @endif
Note: This check runs automatically every hour via the scheduler. The hourly audit also auto-fixes recording dialplan drift.
@endsection