Unable to add the Port Description on alert title

Using Port: {{ $value[‘ifAlias’] }} in the Title. Any info is welcomed.

Hello
Alert is “per device” meaning that you don’t have a direct access to the port description in alert title. You may have 2 or 3 ports alerted.
You could write a loop on all “faults” and extract the ifalias of each one (and probably end up with a very long alert title unless you handle that as well.
Bye

1 Like

Hello B@calao, finally I made it adding this to the Alert Title: Extension: @foreach ($alert->faults as $key =>$value) {{ $value[‘ifAlias’] }} @endforeach Out of Service on {{ $alert->sysName }} ({{ $alert->hostname }})

Thanks for the advice.

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