当您所选择的内容模板中未配置通知内容时,日志服务默认使用内置的通知内容。

短信

  • 中文
    告警名称:${alert_name},状态:${status},严重度:${severity},触发时间:${fire_time}
  • 英文
    Alert name:${alert_name},Status:${status},Severity:${severity},Fire time:${fire_time}

语音

  • 中文
    告警名称:${alert_name},状态:${status},严重度:${severity},触发时间:${fire_time}
  • 英文
    Alert name:${alert_name},Status:${status},Severity:${severity},Fire time:${fire_time}

邮件

  • 中文
    <table border="1" cellpadding="5" style="width: 100%%; border-collapse: collapse;">
      <thead>
        <tr>
          <td>项目</td>
          <td>告警名称</td>
          <td>首次触发</td>
          <td>告警时间</td>
          <td>状态</td>
          <td>严重度</td>
          <td>标签</td>
          <td>标注</td>
          <td>操作</td>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>${project}</td>
          <td>${alert_name}</td>
          <td>${fire_time}</td>
          <td>${alert_time}</td>
          <td>${status}</td>
          <td>${severity}</td>
          <td>${labels}</td>
          <td>${annotations}</td>
          <td>
            <a href="${dashboard_url}">仪表盘</a>
            <a href="${query_url}">查看详情</a>
            <a href="${alert_url}">屏蔽</a>
          </td>
        </tr>
      </tbody>
    </table>
  • 英文
    <table border="1" cellpadding="5" style="width: 100%%; border-collapse: collapse;">
        <thead>
            <tr>
                <td>Project</td>
                <td>AlertName</td>
                <td>FireTime</td>
                <td>AlertTime</td>
                <td>Status</td>
                <td>Severity</td>
                <td>Labels</td>
                <td>Annotations</td>
                <td>Actions</td>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>${project}</td>
                <td>${alert_name}</td>
                <td>${fire_time}</td>
                <td>${alert_time}</td>
                <td>${status}</td>
                <td>${severity}</td>
                <td>${labels}</td>
                <td>${annotations}</td>
                <td>
                    <a href="${dashboard_url}">Dashboard</a>
                    <a href="${query_url}">Detail</a>
                    <a href="${alert_url}">Mute</a>
                </td>
            </tr>
        </tbody>
    </table>

钉钉

- 所属项目: ${project}
- 告警名称: ${alert_name}
- 首次触发: ${fire_time}
- 告警时间: ${alert_time}
- 告警状态: ${status}
- 告警严重度: ${severity}
- 告警标签: ${labels}
- 告警标注: ${annotations}

[[仪表盘](${dashboard_url})]
[[查看详情](${query_url})]
[[屏蔽5分钟](${alert_url})]

企业微信

- 所属项目: ${project}
- 告警名称: ${alert_name}
- 首次触发: ${fire_time}
- 告警时间: ${alert_time}
- 告警状态: ${status}
- 告警严重度: ${severity}
- 告警标签: ${labels}
- 告警标注: ${annotations}

[[仪表盘](${dashboard_url})]
[[查看详情](${query_url})]
[[屏蔽5分钟](${alert_url})]

飞书

- 所属项目: ${project}
- 告警名称: ${alert_name}
- 首次触发: ${fire_time}
- 告警时间: ${alert_time}
- 告警状态: ${status}
- 告警严重度: ${severity}
- 告警标签: ${labels}
- 告警标注: ${annotations}

[[仪表盘](${dashboard_url})]
[[查看详情](${query_url})]
[[屏蔽5分钟](${alert_url})]

Slack

- 所属项目: ${project}
- 告警名称: ${alert_name}
- 首次触发: ${fire_time}
- 告警时间: ${alert_time}
- 告警状态: ${status}
- 告警严重度: ${severity}
- 告警标签: ${labels}
- 告警标注: ${annotations}

[[仪表盘](${dashboard_url})]
[[查看详情](${query_url})]
[[屏蔽5分钟](${alert_url})]

Webhook

{
  "aliuid": "${aliuid}",
  "alert_instance_id": "${alert_instance_id}",
  "alert_id": "${alert_id}",
  "alert_name": "${alert_name}",
  "region": "${region}",
  "project": "${project}",
  "alert_time": ${alert_time},
  "fire_time": ${fire_time},
  "resolve_time": ${resolve_time},
  "status": "${status}",
  "results": ${results},
  "fire_results": ${fire_results},
  "fire_results_count": ${fire_results_count},
  "labels": ${labels},
  "annotations": ${annotations},
  "severity": ${severity}
}

消息中心

  • 中文
    <table border="1" cellpadding="5" style="width: 100%%; border-collapse: collapse;">
      <thead>
        <tr>
          <td>项目</td>
          <td>告警名称</td>
          <td>首次触发</td>
          <td>告警时间</td>
          <td>状态</td>
          <td>严重度</td>
          <td>标签</td>
          <td>标注</td>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>${project}</td>
          <td>${alert_name}</td>
          <td>${fire_time}</td>
          <td>${alert_time}</td>
          <td>${status}</td>
          <td>${severity}</td>
          <td>${labels}</td>
          <td>${annotations}</td>
        </tr>
      </tbody>
    </table>
  • 英文
    <table border="1" cellpadding="5" style="width: 100%%; border-collapse: collapse;">
        <thead>
            <tr>
                <td>Project</td>
                <td>AlertName</td>
                <td>FireTime</td>
                <td>AlertTime</td>
                <td>Status</td>
                <td>Severity</td>
                <td>Labels</td>
                <td>Annotations</td>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>${project}</td>
                <td>${alert_name}</td>
                <td>${fire_time}</td>
                <td>${alert_time}</td>
                <td>${status}</td>
                <td>${severity}</td>
                <td>${labels}</td>
                <td>${annotations}</td>
            </tr>
        </tbody>
    </table>