79400403

Date: 2025-01-30 15:41:48
Score: 1
Natty:
Report link

You're right, I got confused and missed that "small" detail, but now I've fixed it. If it can be helpful, I'll also share the template that retrieves the data from the service.

Thanks All

**Alert: Spazio Libero Critico nel Database MSSQL**

@php
$message_parts = explode(';', $alert->faults[1]['service_message']);
$percentuale_spazio_libero = isset($message_parts[5]) ? round($message_parts[5], 2) : 'N/A';
@endphp

Nome del Database: {{ isset($message_parts[0]) ? $message_parts[0] : 'N/A' }}

Tipo di File: {{ isset($message_parts[1]) ? $message_parts[1] : 'N/A' }}

Spazio Allocato: {{ isset($message_parts[2]) ? $message_parts[2] : 'N/A' }} MB

Spazio Utilizzato: {{ isset($message_parts[3]) ? $message_parts[3] : 'N/A' }} MB

Spazio Libero: {{ isset($message_parts[4]) ? $message_parts[4] : 'N/A' }} MB

Percentuale di Spazio Libero: {{ $percentuale_spazio_libero }}%

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Luca Maggi