@extends('layouts.app') @section('title', 'Alert rules') @section('content')

Alert rules

Thresholds evaluated on every monitoring sweep.

← Back to alerts

Configured rules

@forelse ($rules as $rule) @empty @endforelse
RuleTypeConditionSeverity ThresholdDurationEnabled
{{ $rule->name }}
{{ \Illuminate\Support\Str::limit($rule->description, 80) }}
{{ title_case_words($rule->type) }} {{ $rule->condition }} {{ $rule->severity }} {{ $rule->threshold }} {{ $rule->unit }} {{ $rule->duration_minutes }} min
@csrf @method('PUT')
@csrf @method('DELETE')
@include('components.empty-state', ['icon' => '⚙', 'title' => 'No alert rules configured', 'message' => 'Define thresholds for latency, utilisation, CPU and optical power.', 'action' => ''])
@endsection