modules/nixos/monitoring/message.html.tmpl: various
This commit is contained in:
parent
d9bb98aa79
commit
287ae73ad2
1 changed files with 6 additions and 6 deletions
|
@ -1,11 +1,11 @@
|
|||
<p>
|
||||
{{ if eq .Status "firing" }}
|
||||
🔥 <strong><font color="#ff0000">FIRING</font></strong>
|
||||
{{ else if eq .Status "resolved"}}
|
||||
✅ <strong><font color="#00ff00">RESOLVED</font></strong>
|
||||
{{ else }}
|
||||
<strong><font>{{.Status}}</font></strong> "
|
||||
{{ end }} <code>[{{.Labels.instance}}]</code> >> <b>{{.Labels.alertname}}</b>
|
||||
{{ else if eq .Status "resolved" }}
|
||||
✅ <strong><font color="#33cc33">RESOLVED</font></strong>
|
||||
{{ else }}
|
||||
<strong><font>{{.Status}}</font></strong>
|
||||
{{ end }} <b><code>[{{.Labels.host}}]</code> >> <code>{{.Labels.alertname}}</code></b>
|
||||
</br>
|
||||
{{.Annotations.description}}
|
||||
</p>
|
||||
</p>
|
||||
|
|
Loading…
Add table
Reference in a new issue