I have an alert that has two slack integrations, one on escalation level one, one on escalation level two.
Escalation level one, always works, escalation level two always gives an error:action has failed Failed to execute HTTP request
The content of the JSON is identical apart from some change of text:
Level 1:
payload={"text":"${N=SwisEntity;M=Node.DisplayName} has too many active sessions. Current sessions level is ${N=SwisEntity;M=CustomPollerStatusScalar.Rate}", "attachments":[{"text":"Alert: ${N=Alerting;M=AlertName}.${N=Alerting;M=AlertDetailsUrl} : ${N=Alerting;M=AcknowledgeUrl} notify Technical operations ", "title": "${N=SwisEntity;M=Node.DisplayName} Too many Active sessions. ","title_link": "${N=SwisEntity;M=DetailsUrl}","color":"#FF0000" }]}
Level 2:
payload={"text":"${N=SwisEntity;M=Node.DisplayName} Sessions cleared. Current sessions level is ${N=SwisEntity;M=CustomPollerStatusScalar.Rate}", "attachments":[{"text":"Alert: ${N=Alerting;M=AlertName}.${N=Alerting;M=AlertDetailsUrl} : ${N=Alerting;M=AcknowledgeUrl} notify Technical operations ", "title": "${N=SwisEntity;M=Node.DisplayName} Sessions cleared. ","title_link": "${N=SwisEntity;M=DetailsUrl}","color":"#FF0000" }]}
When I use the simulate tool, both work.