flashduty-knowledge-base 1.2.8 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/en.js +167 -115
- package/dist/esm/zh.js +160 -107
- package/dist/iife/en.js +161 -109
- package/dist/iife/zh.js +148 -95
- package/package.json +1 -1
package/dist/esm/zh.js
CHANGED
|
@@ -1834,7 +1834,7 @@ Azure Monitor 到 Flashduty 告警等级映射关系:
|
|
|
1834
1834
|
| Sev4 | Info | 提醒 |
|
|
1835
1835
|
|
|
1836
1836
|
</div>
|
|
1837
|
-
`,
|
|
1837
|
+
`,p=`---
|
|
1838
1838
|
title: "百度云BCM监控集成"
|
|
1839
1839
|
description: "通过 webhook 的方式同步百度云 BCM 告警事件到 Flashduty,实现告警事件自动化降噪处理"
|
|
1840
1840
|
date: "2025-05-19T10:00:00+08:00"
|
|
@@ -1910,7 +1910,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/baidu-bcm-integration-guide"
|
|
|
1910
1910
|
| 通知 | Info | 提醒 |
|
|
1911
1911
|
|
|
1912
1912
|
</div>
|
|
1913
|
-
`,
|
|
1913
|
+
`,m=`---
|
|
1914
1914
|
title: "华为云监控 CES集成"
|
|
1915
1915
|
description: 通过 webhook 的方式同步华为云监控 CES 告警事件到 Flashduty,实现告警事件自动化降噪处理"
|
|
1916
1916
|
date: "2025-05-19T10:00:00+08:00"
|
|
@@ -3605,7 +3605,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/dynatrace-integration-guide"
|
|
|
3605
3605
|
|CUSTOM_ALERT|Info|提醒|
|
|
3606
3606
|
|
|
3607
3607
|
</div>
|
|
3608
|
-
`,
|
|
3608
|
+
`,I=`---
|
|
3609
3609
|
title: "华为云日志服务 LTS 告警事件"
|
|
3610
3610
|
description: "通过 webhook 的方式同步华为云日志服务 LTS 告警事件到 Flashduty,实现告警事件自动化降噪处理。"
|
|
3611
3611
|
date: "2024-08-20T10:00:00+08:00"
|
|
@@ -3721,7 +3721,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/huaweilts-integration-guide"
|
|
|
3721
3721
|
|Info|Info|提醒|
|
|
3722
3722
|
|
|
3723
3723
|
</div>
|
|
3724
|
-
`,
|
|
3724
|
+
`,L=`---
|
|
3725
3725
|
title: "GoogleCloudMonitoring 告警事件"
|
|
3726
3726
|
description: "通过 webhook 的方式同步 GoogleCloudMonitoring 告警事件到 Flashduty,实现告警事件自动化降噪处理"
|
|
3727
3727
|
date: "2024-07-05T10:00:00+08:00"
|
|
@@ -4164,7 +4164,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/solarwinds-integration-guide"
|
|
|
4164
4164
|
|Info|Info|提醒|
|
|
4165
4165
|
|
|
4166
4166
|
</div>
|
|
4167
|
-
`,
|
|
4167
|
+
`,E=`---
|
|
4168
4168
|
title: "火山引擎云监控告警事件"
|
|
4169
4169
|
description: "通过 webhook 的方式同步火山引擎云监控告警事件到 Flashduty,实现告警事件自动化降噪处理"
|
|
4170
4170
|
date: "2024-08-20T10:00:00+08:00"
|
|
@@ -4255,7 +4255,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/volcengine-metric-integration-gui
|
|
|
4255
4255
|
|通知|Info|提醒|
|
|
4256
4256
|
|
|
4257
4257
|
</div>
|
|
4258
|
-
`,
|
|
4258
|
+
`,N=`---
|
|
4259
4259
|
title: "火山引擎云监控事件中心告警事件"
|
|
4260
4260
|
description: "通过 webhook 的方式同步火山引擎云监控事件中心告警事件到 Flashduty,实现告警事件自动化降噪处理"
|
|
4261
4261
|
date: "2024-07-05T10:00:00+08:00"
|
|
@@ -4780,7 +4780,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/statecloud-integration-guide"
|
|
|
4780
4780
|
|
|
4781
4781
|
|
|
4782
4782
|
</div>
|
|
4783
|
-
`,
|
|
4783
|
+
`,j=`---
|
|
4784
4784
|
title: "观测云告警事件"
|
|
4785
4785
|
description: "通过 webhook 的方式同步观测云告警事件到 Flashduty,实现告警事件自动化降噪处理"
|
|
4786
4786
|
date: "2024-07-05T10:00:00+08:00"
|
|
@@ -4868,7 +4868,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/guance-integration-guide"
|
|
|
4868
4868
|
| 数据断档 | Info | 提醒 |
|
|
4869
4869
|
|
|
4870
4870
|
</div>
|
|
4871
|
-
`,
|
|
4871
|
+
`,U=`---
|
|
4872
4872
|
title: "zilliz 告警事件"
|
|
4873
4873
|
description: "通过 webhook 的方式同步 zilliz 告警事件到 Flashduty,实现告警事件自动化降噪处理"
|
|
4874
4874
|
date: "2024-07-05T10:00:00+08:00"
|
|
@@ -4943,7 +4943,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/zilliz-integration-guide"
|
|
|
4943
4943
|
|
|
4944
4944
|
</div>
|
|
4945
4945
|
|
|
4946
|
-
`,
|
|
4946
|
+
`,O=`---
|
|
4947
4947
|
title: "华为云 APM 告警事件"
|
|
4948
4948
|
description: "通过 webhook 的方式同步华为云 APM 告警事件到 Flashduty,实现告警事件自动化降噪处理"
|
|
4949
4949
|
date: "2024-07-05T10:00:00+08:00"
|
|
@@ -5051,7 +5051,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/huawei-apm-integration-guide"
|
|
|
5051
5051
|
|
|
5052
5052
|
</div>
|
|
5053
5053
|
|
|
5054
|
-
`,
|
|
5054
|
+
`,q=`---
|
|
5055
5055
|
title: "zstack 告警事件"
|
|
5056
5056
|
description: "通过 webhook 的方式同步 zstack 告警事件到 Flashduty,实现告警事件自动化降噪处理"
|
|
5057
5057
|
date: "2024-07-05T10:00:00+08:00"
|
|
@@ -5140,7 +5140,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/zstack-integration-guide"
|
|
|
5140
5140
|
|
|
5141
5141
|
</div>
|
|
5142
5142
|
|
|
5143
|
-
`,
|
|
5143
|
+
`,H=`---
|
|
5144
5144
|
title: "Keep 告警集成指引"
|
|
5145
5145
|
description: "通过 Keep 的 Provider 将告警事件推送到 Flashduty,实现告警事件自动化降噪处理。"
|
|
5146
5146
|
date: "2025-05-19T10:00:00+08:00"
|
|
@@ -5923,7 +5923,8 @@ url: "https://docs.flashcat.cloud/zh/flashduty/dingtalk-integration-guide"
|
|
|
5923
5923
|
- 回到分派策略配置页面,刷新后重新选择群聊列表
|
|
5924
5924
|
- 如果仍然拿不到群聊列表,请尝试群内卸载酷应用后,重试以上步骤。如果还不可以,请联系客户或专属技术支持
|
|
5925
5925
|
|
|
5926
|
-
<img src="https://download.flashcat.cloud/dingtalk-
|
|
5926
|
+
<img src="https://download.flashcat.cloud/flashduty/doc/zh/fd/dingtalk-install-1.png" alt="drawing" width="800"/>
|
|
5927
|
+
<img src="https://download.flashcat.cloud/flashduty/doc/zh/fd/dingtalk-install-2.png" alt="drawing" width="800"/>
|
|
5927
5928
|
|
|
5928
5929
|
<img src="https://download.flashcat.cloud/dingtalk-self-app-notify-rule.png" alt="drawing" width="800"/>
|
|
5929
5930
|
|
|
@@ -7432,7 +7433,7 @@ msg_type 必填,值为 interactive
|
|
|
7432
7433
|
"fields": [{
|
|
7433
7434
|
"text": {
|
|
7434
7435
|
"tag": "lark_md",
|
|
7435
|
-
"content": "**🏢 协作空间:**{{
|
|
7436
|
+
"content": "**🏢 协作空间:**{{.ChannelName}}"
|
|
7436
7437
|
}
|
|
7437
7438
|
},
|
|
7438
7439
|
{
|
|
@@ -7444,34 +7445,46 @@ msg_type 必填,值为 interactive
|
|
|
7444
7445
|
{
|
|
7445
7446
|
"text": {
|
|
7446
7447
|
"tag": "lark_md",
|
|
7447
|
-
"content": "**⏰ 触发时间:**{{date "2006-01-02 15:04:05" .StartTime}}
|
|
7448
|
+
"content": "**⏰ 触发时间:**{{date "2006-01-02 15:04:05" .StartTime}}"
|
|
7448
7449
|
}
|
|
7449
7450
|
},
|
|
7451
|
+
{{if gt .AlertCnt 1}}
|
|
7450
7452
|
{
|
|
7451
7453
|
"text": {
|
|
7452
7454
|
"tag": "lark_md",
|
|
7453
|
-
"content": "**🔔 聚合告警:**{{.AlertCnt}}条
|
|
7455
|
+
"content": "**🔔 聚合告警:**{{.AlertCnt}}条"
|
|
7456
|
+
}
|
|
7457
|
+
},
|
|
7458
|
+
{{end}}{{if .Labels.resource}}
|
|
7459
|
+
{
|
|
7460
|
+
"tag": "div",
|
|
7461
|
+
"text": {
|
|
7462
|
+
"tag": "lark_md",
|
|
7463
|
+
"content": {{printf "%q" (print "**📌 告警对象:**" (joinAlertLabels . "resource" ","))}}
|
|
7454
7464
|
}
|
|
7455
7465
|
},
|
|
7466
|
+
{{end}}{{if .Description}}
|
|
7456
7467
|
{
|
|
7457
7468
|
"tag": "div",
|
|
7458
7469
|
"text": {
|
|
7459
7470
|
"tag": "lark_md",
|
|
7460
|
-
"content":
|
|
7471
|
+
"content": {{printf "%q" (print "**🔍 故障描述:**" .Description)}}
|
|
7461
7472
|
}
|
|
7462
7473
|
},
|
|
7474
|
+
{{end}}{{if gt (len .Responders) 0}}
|
|
7463
7475
|
{
|
|
7464
7476
|
"tag": "div",
|
|
7465
7477
|
"text": {
|
|
7466
7478
|
"tag": "lark_md",
|
|
7467
|
-
"content": "
|
|
7479
|
+
"content": "**👨💻 处理人员:**{{range .Responders}}@{{.PersonName}} {{end}}"
|
|
7468
7480
|
}
|
|
7469
7481
|
},
|
|
7482
|
+
{{end}}
|
|
7470
7483
|
{
|
|
7471
7484
|
"tag": "div",
|
|
7472
7485
|
"text": {
|
|
7473
7486
|
"tag": "lark_md",
|
|
7474
|
-
"content": "
|
|
7487
|
+
"content": ""
|
|
7475
7488
|
}
|
|
7476
7489
|
}
|
|
7477
7490
|
]
|
|
@@ -7500,7 +7513,28 @@ msg_type 必填,值为 interactive
|
|
|
7500
7513
|
"url": "{{.DetailUrl}}?ack=1"
|
|
7501
7514
|
}
|
|
7502
7515
|
]
|
|
7503
|
-
}
|
|
7516
|
+
}
|
|
7517
|
+
{{if or .IsFlapping .IsInStorm}},{{end}}
|
|
7518
|
+
{{if .IsFlapping}}
|
|
7519
|
+
{
|
|
7520
|
+
"tag": "div",
|
|
7521
|
+
"text": {
|
|
7522
|
+
"tag": "lark_md",
|
|
7523
|
+
"content": "🔴 当前故障频繁发生与恢复,{{if .Flapping.MuteMinutes}}未来{{.Flapping.MuteMinutes}}分钟内此告警重复触发将不再通知。{{end}}建议您优化告警策略。"
|
|
7524
|
+
}
|
|
7525
|
+
}
|
|
7526
|
+
{{end}}
|
|
7527
|
+
{{if and .IsFlapping .IsInStorm}},{{end}}
|
|
7528
|
+
{{if .IsInStorm}}
|
|
7529
|
+
{
|
|
7530
|
+
"tag": "div",
|
|
7531
|
+
"text": {
|
|
7532
|
+
"tag": "lark_md",
|
|
7533
|
+
"content": "🔴 当前故障已聚合{{.AlertCnt}}条告警,触发告警风暴,请加急处理!"
|
|
7534
|
+
}
|
|
7535
|
+
}
|
|
7536
|
+
{{end}}
|
|
7537
|
+
]
|
|
7504
7538
|
}
|
|
7505
7539
|
}
|
|
7506
7540
|
\`\`\`
|
|
@@ -7520,10 +7554,10 @@ msg_type 必填,值为 post
|
|
|
7520
7554
|
}, {
|
|
7521
7555
|
"tag": "text",
|
|
7522
7556
|
"text": "协作空间:",
|
|
7523
|
-
"
|
|
7557
|
+
"style": ["bold"]
|
|
7524
7558
|
}, {
|
|
7525
7559
|
"tag": "text",
|
|
7526
|
-
"text": "{{if .ChannelName}}{{.ChannelName}}{{else}}无{{end}}
|
|
7560
|
+
"text": "{{if .ChannelName}}{{.ChannelName}}{{else}}无{{end}}"
|
|
7527
7561
|
}],
|
|
7528
7562
|
[{
|
|
7529
7563
|
"tag": "text",
|
|
@@ -7531,11 +7565,10 @@ msg_type 必填,值为 post
|
|
|
7531
7565
|
}, {
|
|
7532
7566
|
"tag": "text",
|
|
7533
7567
|
"text": "严重程度:",
|
|
7534
|
-
"
|
|
7568
|
+
"style": ["bold"]
|
|
7535
7569
|
}, {
|
|
7536
7570
|
"tag": "text",
|
|
7537
|
-
"text": "{{.IncidentSeverity}}
|
|
7538
|
-
"text_type": "{{if eq .IncidentSeverity "Critical"}}bold{{end}}"
|
|
7571
|
+
"text": "{{.IncidentSeverity}}"
|
|
7539
7572
|
}],
|
|
7540
7573
|
[{
|
|
7541
7574
|
"tag": "text",
|
|
@@ -7543,10 +7576,10 @@ msg_type 必填,值为 post
|
|
|
7543
7576
|
}, {
|
|
7544
7577
|
"tag": "text",
|
|
7545
7578
|
"text": "触发时间:",
|
|
7546
|
-
"
|
|
7579
|
+
"style": ["bold"]
|
|
7547
7580
|
}, {
|
|
7548
7581
|
"tag": "text",
|
|
7549
|
-
"text": "{{date "2006-01-02 15:04:05" .StartTime}}
|
|
7582
|
+
"text": "{{date "2006-01-02 15:04:05" .StartTime}}"
|
|
7550
7583
|
}],
|
|
7551
7584
|
{{if gt .AlertCnt 1}}[{
|
|
7552
7585
|
"tag": "text",
|
|
@@ -7554,10 +7587,10 @@ msg_type 必填,值为 post
|
|
|
7554
7587
|
}, {
|
|
7555
7588
|
"tag": "text",
|
|
7556
7589
|
"text": "聚合告警:",
|
|
7557
|
-
"
|
|
7590
|
+
"style": ["bold"]
|
|
7558
7591
|
}, {
|
|
7559
7592
|
"tag": "text",
|
|
7560
|
-
"text": "{{.AlertCnt}}
|
|
7593
|
+
"text": "{{.AlertCnt}}条"
|
|
7561
7594
|
}],{{end}}
|
|
7562
7595
|
{{if .Labels.resource}}[{
|
|
7563
7596
|
"tag": "text",
|
|
@@ -7565,10 +7598,10 @@ msg_type 必填,值为 post
|
|
|
7565
7598
|
}, {
|
|
7566
7599
|
"tag": "text",
|
|
7567
7600
|
"text": "告警对象:",
|
|
7568
|
-
"
|
|
7601
|
+
"style": ["bold"]
|
|
7569
7602
|
}, {
|
|
7570
7603
|
"tag": "text",
|
|
7571
|
-
"text":
|
|
7604
|
+
"text": {{printf "%q" (print (joinAlertLabels . "resource" ","))}}
|
|
7572
7605
|
}],{{end}}
|
|
7573
7606
|
{{if .Description}}[{
|
|
7574
7607
|
"tag": "text",
|
|
@@ -7576,10 +7609,10 @@ msg_type 必填,值为 post
|
|
|
7576
7609
|
}, {
|
|
7577
7610
|
"tag": "text",
|
|
7578
7611
|
"text": "描述:",
|
|
7579
|
-
"
|
|
7612
|
+
"style": ["bold"]
|
|
7580
7613
|
}, {
|
|
7581
7614
|
"tag": "text",
|
|
7582
|
-
"text":
|
|
7615
|
+
"text": {{printf "%q" (print .Description)}}
|
|
7583
7616
|
}],{{end}}
|
|
7584
7617
|
{{if gt (len .Responders) 0}}[{
|
|
7585
7618
|
"tag": "text",
|
|
@@ -7587,10 +7620,10 @@ msg_type 必填,值为 post
|
|
|
7587
7620
|
}, {
|
|
7588
7621
|
"tag": "text",
|
|
7589
7622
|
"text": "处理人员:",
|
|
7590
|
-
"
|
|
7623
|
+
"style": ["bold"]
|
|
7591
7624
|
}, {
|
|
7592
7625
|
"tag": "text",
|
|
7593
|
-
"text": "{{range .Responders}}@{{.PersonName}} {{end}}
|
|
7626
|
+
"text": "{{range .Responders}}@{{.PersonName}} {{end}}"
|
|
7594
7627
|
}],{{end}}
|
|
7595
7628
|
[{
|
|
7596
7629
|
"tag": "a",
|
|
@@ -7604,6 +7637,20 @@ msg_type 必填,值为 post
|
|
|
7604
7637
|
"href": "{{.DetailUrl}}?ack=1",
|
|
7605
7638
|
"text": "认领"
|
|
7606
7639
|
}]
|
|
7640
|
+
{{if or .IsFlapping .IsInStorm}},{{end}}
|
|
7641
|
+
{{if .IsFlapping}}
|
|
7642
|
+
[{
|
|
7643
|
+
"tag": "text",
|
|
7644
|
+
"text": "\\n 🔴 当前故障频繁发生与恢复,{{if .Flapping.MuteMinutes}}未来{{.Flapping.MuteMinutes}}分钟内此告警重复触发将不再通知。{{end}}建议您优化告警策略。"
|
|
7645
|
+
}]
|
|
7646
|
+
{{end}}
|
|
7647
|
+
{{if and .IsFlapping .IsInStorm}},{{end}}
|
|
7648
|
+
{{if .IsInStorm}}
|
|
7649
|
+
,[{
|
|
7650
|
+
"tag": "text",
|
|
7651
|
+
"text": "\\n 🔴 当前故障已聚合{{.AlertCnt}}条告警,触发告警风暴,请加急处理!"
|
|
7652
|
+
}]
|
|
7653
|
+
{{end}}
|
|
7607
7654
|
]
|
|
7608
7655
|
}
|
|
7609
7656
|
}
|
|
@@ -7738,94 +7785,100 @@ msg_type 必填,值为 post
|
|
|
7738
7785
|
- 如果不设置自定义内容,将采用系统默认模板,仅展示关键信息:
|
|
7739
7786
|
|
|
7740
7787
|
\`\`\`json
|
|
7741
|
-
{
|
|
7742
|
-
|
|
7788
|
+
{
|
|
7789
|
+
"head": {
|
|
7790
|
+
"text": "{{fireReason .}}INC [#{{.Num}}] {{.Title}}",
|
|
7791
|
+
"style": {
|
|
7792
|
+
"bold": true,
|
|
7793
|
+
"italic": false,
|
|
7794
|
+
"color": "{{$s := serverityToColor .IncidentSeverity}}{{$s}}"
|
|
7795
|
+
}
|
|
7796
|
+
},
|
|
7797
|
+
"body": [
|
|
7798
|
+
{
|
|
7799
|
+
"type": "message",
|
|
7800
|
+
"text": {{printf "%q" (print "协作空间:" .ChannelName)}},
|
|
7743
7801
|
"style": {
|
|
7744
|
-
"bold":
|
|
7802
|
+
"bold": false,
|
|
7803
|
+
"italic": false
|
|
7804
|
+
}
|
|
7805
|
+
},
|
|
7806
|
+
{
|
|
7807
|
+
"type": "message",
|
|
7808
|
+
"text": "严重程度:{{.IncidentSeverity}}",
|
|
7809
|
+
"style": {
|
|
7810
|
+
"bold": false,
|
|
7745
7811
|
"italic": false,
|
|
7746
|
-
"color": "{{$s := serverityToColor .IncidentSeverity}}{{
|
|
7812
|
+
"color": "{{$s := serverityToColor .IncidentSeverity}}{{$s}}"
|
|
7747
7813
|
}
|
|
7748
7814
|
},
|
|
7749
|
-
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
"
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
"type": "message",
|
|
7760
|
-
"text": "严重程度:{{.IncidentSeverity}}",
|
|
7761
|
-
"style": {
|
|
7762
|
-
"bold": false,
|
|
7763
|
-
"italic": false,
|
|
7764
|
-
"color": "{{$s := serverityToColor .IncidentSeverity}}{{toHtml $s}}"
|
|
7765
|
-
}
|
|
7766
|
-
},
|
|
7767
|
-
{
|
|
7768
|
-
"type": "message",
|
|
7769
|
-
"text": "持续时长:{{ago .StartTime}}{{if gt .AlertCnt 1}}",
|
|
7770
|
-
"style": {
|
|
7771
|
-
"bold": false,
|
|
7772
|
-
"italic": false
|
|
7773
|
-
}
|
|
7774
|
-
},
|
|
7775
|
-
{
|
|
7776
|
-
"type": "message",
|
|
7777
|
-
"text": "聚合告警:{{.AlertCnt}}条{{end}}{{if .Labels.resource}}",
|
|
7778
|
-
"style": {
|
|
7779
|
-
"bold": false,
|
|
7780
|
-
"italic": false
|
|
7781
|
-
}
|
|
7782
|
-
},
|
|
7783
|
-
{
|
|
7784
|
-
"type": "message",
|
|
7785
|
-
"text": "告警对象:{{.Labels.resource}}{{end}}{{if .Description}}",
|
|
7786
|
-
"style": {
|
|
7787
|
-
"bold": false,
|
|
7788
|
-
"italic": false
|
|
7789
|
-
}
|
|
7790
|
-
},
|
|
7791
|
-
{
|
|
7815
|
+
{
|
|
7816
|
+
"type": "message",
|
|
7817
|
+
"text": "{{if .AlertCnt}}聚合告警:{{.AlertCnt}}条{{end}}",
|
|
7818
|
+
"style": {
|
|
7819
|
+
"bold": false,
|
|
7820
|
+
"italic": false
|
|
7821
|
+
}
|
|
7822
|
+
},
|
|
7823
|
+
{{if .Labels.resource}}
|
|
7824
|
+
{
|
|
7792
7825
|
"type": "message",
|
|
7793
|
-
"text":
|
|
7826
|
+
"text": {{printf "%q" (print "告警对象:" (joinAlertLabels . "resource" ", "))}},
|
|
7794
7827
|
"style": {
|
|
7795
7828
|
"bold": false,
|
|
7796
7829
|
"italic": false
|
|
7797
7830
|
}
|
|
7798
|
-
|
|
7799
|
-
|
|
7831
|
+
},
|
|
7832
|
+
{{end}}{{if .Labels.body_text}}
|
|
7833
|
+
{
|
|
7800
7834
|
"type": "message",
|
|
7801
|
-
"text":
|
|
7835
|
+
"text": {{printf "%q" (print "故障描述:" .Labels.body_text)}},
|
|
7802
7836
|
"style": {
|
|
7803
7837
|
"bold": false,
|
|
7804
7838
|
"italic": false
|
|
7805
7839
|
}
|
|
7806
|
-
|
|
7807
|
-
|
|
7808
|
-
|
|
7809
|
-
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
|
|
7813
|
-
"
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
|
|
7819
|
-
},
|
|
7820
|
-
{
|
|
7840
|
+
},
|
|
7841
|
+
{{else if .Description}}
|
|
7842
|
+
{
|
|
7843
|
+
"type": "message",
|
|
7844
|
+
"text": {{printf "%q" (print "故障描述:" .Description)}},
|
|
7845
|
+
"style": {
|
|
7846
|
+
"bold": false,
|
|
7847
|
+
"italic": false
|
|
7848
|
+
}
|
|
7849
|
+
},
|
|
7850
|
+
{{end}}{{if gt (len .Responders) 0}}
|
|
7851
|
+
{
|
|
7852
|
+
"type": "message",
|
|
7853
|
+
"text": "处理人员:{{range .Responders}}@{{.PersonName}}{{end}}",
|
|
7854
|
+
"style": {
|
|
7855
|
+
"bold": false,
|
|
7856
|
+
"italic": false
|
|
7857
|
+
}
|
|
7858
|
+
},
|
|
7859
|
+
{{end}}
|
|
7860
|
+
{
|
|
7821
7861
|
"type": "message",
|
|
7822
|
-
"text": "
|
|
7823
|
-
"
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7862
|
+
"text": "查看详情",
|
|
7863
|
+
"link": {{printf "%q" .DetailUrl}}
|
|
7864
|
+
},
|
|
7865
|
+
{
|
|
7866
|
+
"type": "message",
|
|
7867
|
+
"text": "{{if .IsFlapping}}🔴 当前故障频繁发生与恢复,{{if .Flapping.MuteMinutes}}未来{{.Flapping.MuteMinutes}}分钟内此告警重复触发将不再通知。{{end}}建议您优化告警策略。{{end}}",
|
|
7868
|
+
"style": {
|
|
7869
|
+
"bold": true,
|
|
7870
|
+
"italic": false
|
|
7827
7871
|
}
|
|
7828
|
-
|
|
7872
|
+
},
|
|
7873
|
+
{
|
|
7874
|
+
"type": "message",
|
|
7875
|
+
"text": "{{if .IsInStorm}}🔴 当前故障已聚合{{.AlertCnt}}条告警,触发告警风暴,请加急处理!{{end}}",
|
|
7876
|
+
"style": {
|
|
7877
|
+
"bold": true,
|
|
7878
|
+
"italic": false
|
|
7879
|
+
}
|
|
7880
|
+
}
|
|
7881
|
+
]
|
|
7829
7882
|
}
|
|
7830
7883
|
\`\`\`
|
|
7831
7884
|
</div>
|
|
@@ -7995,4 +8048,4 @@ https://cmdb.com/vm?sn=VM123456
|
|
|
7995
8048
|
1. 当引用的内容不存在时,Link 集成会正常生成对应的链接,但无法获取到值
|
|
7996
8049
|
2. 同一个协作空间至多绑定三个 Link 集成
|
|
7997
8050
|
3. 注意引用语法,如未按照要求进行书写引用变量,会导致无法正常获取对应值
|
|
7998
|
-
`,on={CustomAlert:n,Email:t,N9e:e,Prometheus:a,Grafana:i,Zabbix:s,UptimeKuma:l,AliyunARMS:d,AliyunCmEvent:o,AliyunCm:r,AliyunSLS:c,AWSCW:u,AzureMonitor:h,BaiDuBCM:
|
|
8051
|
+
`,on={CustomAlert:n,Email:t,N9e:e,Prometheus:a,Grafana:i,Zabbix:s,UptimeKuma:l,AliyunARMS:d,AliyunCmEvent:o,AliyunCm:r,AliyunSLS:c,AWSCW:u,AzureMonitor:h,BaiDuBCM:p,HuaWeiCES:m,InfluxDB:g,OpenFalcon:y,PagerDuty:f,TencentBK:b,TencentCLS:v,TencentCm:w,TencentEb:_,OceanBase:k,Graylog:F,Skywalking:x,Sentry:T,Jiankongbao:A,AWSEventBridge:S,Dynatrace:C,HuaweiyunLTS:I,GoogleCM:L,Splunk:D,AppDynamics:P,SolarWinds:M,VolcEngineMetric:E,VolcEngineEvent:N,VolcEngineTLS:$,OpManager:W,Meraki:R,Zilliz:U,StateCloud:z,Guance:j,CustomChange:G,Jira:K,Lark:Z,Dingtalk:X,Wecom:Y,Slack:Q,MicrosoftTeams:nn,AlertWebhook:tn,IncidentWebhook:en,CustomAction:an,Templates:ln,HuaweiyunAPM:O,JiraSync:sn,ZStack:q,Keep:H,ElastAlert2:B,DingtalkAlert:V,FeishuAlert:J,Link:dn};module.exports=on;
|