Improvements to finding idle nodes, last_session actually only shows the last time the remote polled us
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
@use(App\Models\SystemZone)
|
||||
|
||||
@extends('layouts.app')
|
||||
@section('htmlheader_title')
|
||||
Systems
|
||||
@@ -28,7 +30,7 @@
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach (\App\Models\SystemZone::select('*')->with(['system.addresses.zone.domain','zone.domain'])->get() as $oo)
|
||||
@foreach (SystemZone::select('*')->with(['system.addresses.zone.domain','zone.domain','system.logs_recent'])->get() as $oo)
|
||||
<tr>
|
||||
<td>{{ $oo->zone->domain->name }}</td>
|
||||
<td>
|
||||
@@ -40,7 +42,7 @@
|
||||
<td>{{ $oo->system->name }}</td>
|
||||
<td>{{ $oo->system->sysop }}</td>
|
||||
<td>{{ $oo->system->location }}</td>
|
||||
<td>{{ $oo->system->last_session ? $oo->system->last_session->format('Y-m-d H:i') : '-' }}</td>
|
||||
<td>{{ $oo->system->last_seen?->format('Y-m-d H:i') ?: '-' }}</td>
|
||||
<td>{{ $oo->system->akas->where('zone_id',$oo->zone_id)->pluck('ftn4d')->join(', ') }}</td>
|
||||
<td>{{ $oo->system->zt_id }}</td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user