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

System Health

API & Bot health status monitoring

Refresh
@if($overallStatus === 'healthy')

All Systems Operational

All services are running smoothly. Last checked: {{ $lastChecked->format('H:i:s') }}

@elseif($overallStatus === 'warning')

Some Issues Detected

Some services may need attention. Last checked: {{ $lastChecked->format('H:i:s') }}

@else

Critical Issues Found

Some services are not working properly. Last checked: {{ $lastChecked->format('H:i:s') }}

@endif
@foreach($healthChecks as $key => $check)
@if($check['status'] === 'healthy')
@elseif($check['status'] === 'warning')
@else
@endif

{{ $check['name'] }}

{{ $check['message'] }}

{{ $check['details'] }}

@if($check['status'] === 'healthy') Healthy @elseif($check['status'] === 'warning') Warning @else Error @endif
@endforeach

API Health Endpoint

Use this endpoint for external monitoring tools (UptimeRobot, etc.)

GET {{ route('admin.health.json') }}

Returns 200 OK if healthy, 503 if unhealthy

@endsection