2016-08-12 16:44:53 +02:00
|
|
|
[[Subject .Subject "[[.Title]]"]]
|
2016-06-17 15:30:17 +02:00
|
|
|
|
2016-08-12 16:44:53 +02:00
|
|
|
<table class="row">
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="wrapper last">
|
|
|
|
|
<table class="twelve columns">
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="center">
|
2016-08-13 12:13:32 +02:00
|
|
|
<h3 style="/*text-align:center*/;color: [[.SeverityColor]]; font-weight: bold;">[[.Title]]</h3>
|
2016-08-12 16:44:53 +02:00
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
2016-06-17 15:30:17 +02:00
|
|
|
|
2016-08-12 16:44:53 +02:00
|
|
|
<table class="row" >
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="wrapper last">
|
|
|
|
|
<table class="twelve columns">
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="center">
|
2016-08-13 12:13:32 +02:00
|
|
|
<p style="/*text-align:center*/">[[.Message]]</p>
|
2016-08-12 16:44:53 +02:00
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2016-08-13 12:13:32 +02:00
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
[[if ne .State "ok" ]]
|
|
|
|
|
<table class="row" >
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="wrapper last">
|
|
|
|
|
<center>
|
|
|
|
|
<table class="twelve columns" >
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="wrapper last" style="font-weight: bold;">
|
|
|
|
|
Metric name
|
|
|
|
|
</td>
|
|
|
|
|
<td style="font-weight: bold;">
|
|
|
|
|
Value
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2016-08-15 20:17:32 +02:00
|
|
|
[[range .EvalMatches]]
|
2016-08-13 12:13:32 +02:00
|
|
|
<tr>
|
|
|
|
|
<td class="wrapper last">
|
|
|
|
|
[[.Metric]]
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
[[.Value]]
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[[end]]
|
|
|
|
|
</table>
|
|
|
|
|
</center>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
[[end]]
|
|
|
|
|
|
|
|
|
|
<table class="row" >
|
2016-08-12 16:44:53 +02:00
|
|
|
<tr>
|
|
|
|
|
<td class="wrapper last">
|
|
|
|
|
<table class="twelve columns">
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="center">
|
|
|
|
|
<img src="[[.ImageLink]]" />
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
2016-06-17 15:30:17 +02:00
|
|
|
|
2016-08-13 12:13:32 +02:00
|
|
|
|
2016-08-12 16:44:53 +02:00
|
|
|
<table class="row">
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="wrapper last">
|
|
|
|
|
<table class="twelve columns">
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="center">
|
|
|
|
|
<a href="[[.RuleUrl]]" target="_blank">Alert rule</a> - <a href="[[.AlertPageUrl]]" target="_blank">Alerts page</a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
2016-06-17 15:30:17 +02:00
|
|
|
|
2016-06-17 16:43:14 +02:00
|
|
|
|