|
|
- {% if event.channel.kind == "email" %}
- Sent email to {{ event.channel.email_value }}
- {% elif event.channel.kind == "slack" %}
- Sent Slack alert
- {% if event.channel.slack_channel %}
- to {{ event.channel.slack_channel }}
- {% endif %}
- {% elif event.channel.kind == "po" %}
- Sent a Pushover notification
- {% if event.channel.name %}
- ({{ event.channel.name }})
- {% endif %}
- {% elif event.channel.kind == "webhook" %}
- Called webhook {{ event.channel.url_down }}
- {% elif event.channel.kind == "msteams" %}
- Sent alert to Microsoft Teams
- {% if event.channel.name %}
- ({{ event.channel.name }})
- {% endif %}
- {% elif event.channel.kind == "sms" %}
- Sent SMS to {{ event.channel.phone_number }}
- {% if event.channel.name %}
- ({{ event.channel.name }})
- {% endif %}
- {% elif event.channel.kind == "whatsapp" %}
- Sent WhatsApp message to {{ event.channel.phone_number }}
- {% if event.channel.name %}
- ({{ event.channel.name }})
- {% endif %}
- {% elif event.channel.kind == "trello" %}
- Added Trello card in
- board "{{ event.channel.trello_board_list|first }}"
- {% elif event.channel.kind == "shell" %}
- Executed a shell command
- {% if event.channel.name %}
- ({{ event.channel.name }})
- {% endif %}
- {% elif event.channel.kind == "call" %}
- Made a phone call to {{ event.channel.phone_number }}
- {% if event.channel.name %}
- ({{ event.channel.name }})
- {% endif %}
- {% else %}
- Sent alert to {{ event.channel.get_kind_display }}
- {% if event.channel.name %}
- ({{ event.channel.name }})
- {% endif %}
- {% endif %}
- {% if event.error %}
- <br />
- <strong>Error: {{ event.error }}</strong>
- {% endif %}
|