@use(App\Models\SystemLog) @use(Carbon\Carbon) @extends('layouts.app') @section('htmlheader_title') Stats @endsection @section('content')

System Status

This system has processed the following so far in the last 7 days:

Netmail
@if($x->count())

Networks:

    @foreach($x->groupBy('fftn.zone_id') as $oo)
  • {{ $oo->first()->fftn->zone->domain->name }}: {{ number_format($oo->count()) }}
  • @endforeach
@endif
Echomail
@if($x->count())

Networks:

    @foreach($x->groupBy('fftn.zone_id') as $oo)
  • {{ sprintf('Z%d (%s)',$oo->first()->fftn->zone->zone_id,$oo->first()->fftn->zone->domain->name) }}: {{ number_format($oo->count()) }}
  • @endforeach
@endif
Files
@if($x->count())

Networks:

    @foreach($x->groupBy('fftn.zone_id') as $oo)
  • {{ sprintf('Z%d (%s)',$oo->first()->fftn->zone->zone_id,$oo->first()->fftn->zone->domain->name) }}: {{ number_format($oo->count()) }}
  • @endforeach
@endif
Systems
DNS Queries

Nodes with uncollected mail as at {{ $date }}:

@foreach($uncollected as $o) @endforeach
Network System Address Echomails Netmails Files Last Session Poll Mode Auto Hold
{{ $o->zone->domain->name }} {{ $o->system->name }} @if (($x=$o->uplink()) && ($x->id !== $o->id))
[via {{ $x->ftn4d }}] @endif @if($o->is_down || $o->is_hold)
@if($o->is_down)DOWN @elseif($o->is_hold)HOLD @else? @endif
@endif
{{ $o->ftn4d }} {{ number_format($o->uncollected_echomail ?? 0) }} {{ number_format($o->uncollected_netmail ?? 0) }} {{ number_format($o->uncollected_files ?? 0) }} {{ $o->system->last_seen?->format('Y-m-d H:i') }} {{ is_null($o->system->pollmode) ? 'HOLD' : ($o->system->pollmode ? 'CRASH' : 'DAILY') }} {{ $o->system->autohold ? 'YES' : 'NO' }}
@endsection @section('page-css') @css('datatables') @append @section('page-scripts') @js('datatables') @append