Default alert template fix

Hello,

I’m using Default alert template

and there is a lot of information which is not needed !

All what I want to receive is the name of the device and of course the time when the device or the service is down and the Service description and that’s it

Can anyone help me which lines should I delete !

{{ $alert->title }}
Severity: {{ $alert->severity }}
@if ($alert->state == 0) Time elapsed: {{ $alert->elapsed }} @endif
Timestamp: {{ $alert->timestamp }}
Rule: @if ($alert->name) {{ $alert->name }} @else {{ $alert->rule }} @endif
@if ($alert->faults) Faults:
@foreach ($alert->faults as $key => $value)
  {{ $key }}: {{ $value['string'] }}
@endforeach
@endif
Alert sent to:
@foreach ($alert->contacts as $key => $value)
  {{ $value }} <{{ $key }}>
@endforeach

Best Regards

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.