nightingale/etc/template/dingtalk.tpl

12 lines
515 B
Smarty
Raw Normal View History

2021-12-17 12:11:15 +08:00
#### {{if .IsRecovered}}<font color="#008800">S{{.Severity}} - Recovered - {{.RuleName}}</font>{{else}}<font color="#FF0000">S{{.Severity}} - Triggered - {{.RuleName}}</font>{{end}}
2021-12-17 12:05:41 +08:00
2021-12-17 12:24:24 +08:00
---
2021-12-17 13:04:39 +08:00
- **规则标题**: {{.RuleName}}{{if .RuleNote}}
- **规则备注**: {{.RuleNote}}{{end}}
- **监控指标**: {{.TagsJSON}}
- {{if .IsRecovered}}**恢复时间**{{timeformat .LastEvalTime}}{{else}}**触发时间**: {{timeformat .TriggerTime}}
- **触发时值**: {{.TriggerValue}}{{end}}
- **发送时间**: {{timestamp}}
2021-12-17 12:24:24 +08:00