Alert Transport of API line breaks in body are escaped

Hi there!
Now I have a problem, in the Alert Transport of API, the body part has been escaped when processing line breaks, so the json received by the server cannot be processed.


Here is my Alert template

<{{ $alert->sysName }}>
@foreach ($alert->faults as $key => $value)
  Peer IP: {{ $value['bgpPeerIdentifier'] }}
  Peer AS: {{ $value['bgpPeerRemoteAs'] }}
  Peer State: {{ $value['bgpPeerState'] }}

librenms version info

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