Service-related variables in Alert template title

Tags: #<Tag:0x00007f84af20a040>

hi guys,

I am trying to add service-related variables (service_desc, in the example) to the Alarm Title defined in the template, but cannot make it work.

This is how it looks like at the moment:

Unfortunately, the title is arriving empty at Transport.

What am I doing wrong here?


Got it, there was a loop missing.
@if ($alert->faults) @foreach ($alert->faults as $key => $value) @endforeach @endif Alert on {{ $value[‘service_desc’] }}, type {{ $value[‘service_type’] }}

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