@extends('layouts.app') @section('title', 'Switch Details - ISP ERP System') @section('content')

Switch Details

View switch information and SNMP logs

Back to Switches
@csrf
@csrf
Edit

Switch Information

{{ $switch->name }}

{{ $switch->ip }}

{{ $switch->community }}

{{ $switch->brand ?? '—' }}

{{ $switch->location ?? '—' }}

{{ $switch->created_at->format('M d, Y h:i A') }}

SNMP Logs ({{ $switch->snmpLogs->count() }})

Add Log
@if($switch->snmpLogs->count() > 0)
@foreach($switch->snmpLogs as $log) @endforeach
# Data Type Data Value Created At Actions
{{ $loop->iteration }} {{ $log->data_type }}
{{ Str::limit($log->data_value, 100) }}
{{ $log->created_at->format('M d, Y h:i A') }}
@else
No SNMP logs found

Start monitoring by adding SNMP logs for this switch.

Add Log
@endif
@endsection