Se ha registrado un {{$DataBody['type_header']}} en conexión al servidor de fibra 815 a través de la API
@php
switch ($DataBody['status']) {
case 'A':
$status = "Abierto";
break;
case 'C':
$status = "Cerrado";
break;
default:
$status = "Descartado";
break;
}
if(!empty($DataBody['date_up'])){
$date_up = $DataBody['date_up'];
}else{
$date_up = "Incidente abierto";
}
if(!empty($DataBody['time'])){
$time = $DataBody['time'];
}else{
$time = "Incidente abierto";
}
@endphp
Incidencia # {{$DataBody['alert_id']}}
Nombre del Servidor: {{$DataBody['name']}}
Endpoint del Servidor: {{$DataBody['url']}}
Fecha de incio: {{$DataBody['date_fail']}}
Fecha de restablecimiento: {{$date_up}}
Tiempo aproximado de incidente: {{$time}}
Detalles del incidente: {{$DataBody['info']}}
Estatus del incidente: {{$status}}
Nota: Correo generado automáticamente por sistema de fibra
Netwey 2024