diff --git a/resources/views/status.blade.php b/resources/views/status.blade.php index c917612..707c5f7 100644 --- a/resources/views/status.blade.php +++ b/resources/views/status.blade.php @@ -6,50 +6,194 @@ @section('content')
-

Network Status

+

System Status

-
-
-

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

+
+ +
+ - - - - - - - - - - - - - - +
+
+

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

-
- @foreach($uncollected as $o) - - - - - - - - - - - - @endforeach - -
NetworkSystemAddressEchomailsNetmailsFilesLast SessionPoll ModeAuto Hold
{{ $o->zone->domain->name }} - {{ $o->system->name }} - @if (($x=$o->parent()) && ($x->id !== $o->id)) -
[via {{ $x->ftn4d }}] - @endif -
{{ $o->ftn4d }}{{ number_format($o->uncollected_echomail ?? 0) }}{{ number_format($o->uncollected_netmail ?? 0) }}{{ number_format($o->uncollected_files ?? 0) }}{{ $o->system->last_session?->format('Y-m-d H:i') }}{{ is_null($o->system->pollmode) ? 'HOLD' : ($o->system->pollmode ? 'CRASH' : 'DAILY') }}{{ $o->system->autohold ? 'YES' : 'NO' }}
+
+ +
+
+
+ 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 + + +
+
+
+
+
+
+
+
+
+ + +
+

Uncollected Mail

+ +
+
+
+
+

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

+ + + + + + + + + + + + + + + + + + @foreach($uncollected as $o) + + + + + + + + + + + + @endforeach + +
NetworkSystemAddressEchomailsNetmailsFilesLast SessionPoll ModeAuto Hold
{{ $o->zone->domain->name }} + {{ $o->system->name }} + @if (($x=$o->parent()) && ($x->id !== $o->id)) +
[via {{ $x->ftn4d }}] + @endif +
{{ $o->ftn4d }}{{ number_format($o->uncollected_echomail ?? 0) }}{{ number_format($o->uncollected_netmail ?? 0) }}{{ number_format($o->uncollected_files ?? 0) }}{{ $o->system->last_session?->format('Y-m-d H:i') }}{{ is_null($o->system->pollmode) ? 'HOLD' : ($o->system->pollmode ? 'CRASH' : 'DAILY') }}{{ $o->system->autohold ? 'YES' : 'NO' }}
+
+
+
+
@endsection