nightingale1/etc/template/wecom.tpl

7 lines
469 B
Smarty
Raw Normal View History

2021-11-28 18:57:49 +08:00
**级别状态**: {{if .IsRecovered}}<font color="info">S{{.Severity}} Recovered</font>{{else}}<font color="warning">S{{.Severity}} Triggered</font>{{end}}
**规则标题**: {{.RuleName}}{{if .RuleNote}}
**规则备注**: {{.RuleNote}}{{end}}
**监控指标**: {{.TagsJSON}}
2021-12-08 00:07:25 +08:00
{{if .IsRecovered}}**恢复时间**{{timeformat .LastEvalTime}}{{else}}**触发时间**: {{timeformat .TriggerTime}}
2021-12-15 19:16:39 +08:00
**触发时值**: {{.TriggerValue}}{{end}}
2021-12-15 19:22:18 +08:00
**发送时间**: {{timestamp}}