@section('site_title', formatTitle([__('New'), __('Monitor'), config('settings.title')])) @include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => route('dashboard'), 'title' => __('Home')], ['url' => route('monitors'), 'title' => __('Monitors')], ['title' => __('New')], ]])

{{ __('New') }}

{{ __('Monitor') }}
@include('shared.message')
@csrf
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('url')) {{ $errors->first('url') }} @endif
@if ($errors->has('interval')) {{ $errors->first('interval') }} @endif
@cannot('sslMonitoring', ['App\Models\User']) @if(paymentProcessors()) @include('icons.lock-open', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@if ($errors->has('ssl_alert_days')) {{ $errors->first('ssl_alert_days') }} @endif {{ __('The number of days before SSL certificate expiration to receive an alert.') }}
@cannot('domainMonitoring', ['App\Models\User']) @if(paymentProcessors()) @include('icons.lock-open', ['class' => 'fill-current text-primary width-4 height-4']) @endif @endcannot
@if ($errors->has('domain_alert_days')) {{ $errors->first('domain_alert_days') }} @endif {{ __('The number of days before domain name expiration to receive an alert.') }}
@if ($errors->has('alert_condition')) {{ $errors->first('alert_condition') }} @endif
@if ($errors->has('alert_text_lookup')) {{ $errors->first('alert_text_lookup') }} @endif
@if ($errors->has('alerts')) {{ $errors->first('alerts') }} @endif
{!! __('Learn more at :url.', ['url' => 'Sending messages using incoming webhooks - Slack']) !!}
{!! __('Learn more at :url.', ['url' => 'Create Incoming Webhooks - Microsoft Teams']) !!}
{!! __('Learn more at :url.', ['url' => 'Intro to Webhooks - Discord']) !!}
{!! __('Learn more at :url.', ['url' => 'Incoming webhooks - Flock']) !!}
{!! __(':api_token and :chat_id must be separated by a space.', ['api_token' => 'api:token', 'chat_id' => 'chat_id']) !!} {!! __('Learn more at :url.', ['url' => 'Telegram Bot API']) !!}
@if(old('alerts')) @foreach(old('alerts') as $id => $alerts)
@if ($errors->has('alerts.'.$id.'.key')) {{ $errors->first('alerts.'.$id.'.key') }} @endif
@if ($errors->has('alerts.'.$id.'.value')) {{ $errors->first('alerts.'.$id.'.value') }} @endif
@endforeach @endif
@if ($errors->has('request_method')) {{ $errors->first('request_method') }} @endif
@if ($errors->has('request_headers')) {{ $errors->first('request_headers') }} @endif
@if(old('request_headers')) @foreach(old('request_headers') as $id => $requestHeaders)
@if ($errors->has('request_headers.'.$id.'.key')) {{ $errors->first('request_headers.'.$id.'.key') }} @endif
@if ($errors->has('request_headers.'.$id.'.value')) {{ $errors->first('request_headers.'.$id.'.value') }} @endif
@endforeach @endif
@if ($errors->has('request_auth_username')) {{ $errors->first('request_auth_username') }} @endif
@include('icons.visibility_off', ['class' => 'width-4 height-4 fill-current text-muted'])@include('icons.visibility', ['class' => 'width-4 height-4 fill-current text-muted d-none'])
@if ($errors->has('request_auth_password')) {{ $errors->first('request_auth_password') }} @endif
@if ($errors->has('cache_buster')) {{ $errors->first('cache_buster') }} @endif {{ __('Appends a unique string at the end of the URL so that every request is unique.') }}
@if ($errors->has('maintenance_start_at')) {{ $errors->first('maintenance_start_at') }} @endif
@if ($errors->has('maintenance_end_at')) {{ $errors->first('maintenance_end_at') }} @endif
{{ __('The maintenance period during which no monitor checks or alerts will be performed.') }}