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">
|
2016-09-07 13:51:17 +02:00
|
|
|
<tr>
|
|
|
|
|
<td class="wrapper last">
|
|
|
|
|
<table class="twelve columns">
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="center">
|
|
|
|
|
<h3 style="/*text-align:center*/;color: [[.SeverityColor]]; font-weight: bold; font-style: italic;">[[.Title]]</h3>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2016-08-12 16:44:53 +02:00
|
|
|
</table>
|
2016-06-17 15:30:17 +02:00
|
|
|
|
2016-08-12 16:44:53 +02:00
|
|
|
<table class="row" >
|
2016-09-07 13:51:17 +02:00
|
|
|
<tr>
|
|
|
|
|
<td class="last">
|
|
|
|
|
<table class="twelve columns">
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="center">
|
|
|
|
|
<p style="/*text-align:center*/">[[.Message]]</p>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2016-08-13 12:13:32 +02:00
|
|
|
</table>
|
|
|
|
|
|
2017-05-17 03:51:51 -04:00
|
|
|
[[if ne .Error "" ]]
|
|
|
|
|
<table class="row" >
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="last">
|
|
|
|
|
<center>
|
|
|
|
|
<table class="twelve columns" >
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="twelve last">
|
|
|
|
|
<h5 style="font-weight: bold;">Error message</h5>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="twelve last">
|
|
|
|
|
<p>[[.Error]]</p>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</center>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
[[end]]
|
|
|
|
|
|
2016-08-13 12:13:32 +02:00
|
|
|
[[if ne .State "ok" ]]
|
|
|
|
|
<table class="row" >
|
2016-09-07 13:51:17 +02:00
|
|
|
<tr>
|
|
|
|
|
<td class="last">
|
|
|
|
|
<center>
|
|
|
|
|
<table class="twelve columns" >
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="six">
|
|
|
|
|
<h5 style="font-weight: bold;">Metric name</h5>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="six last" style="text-align: right; width:100px;">
|
|
|
|
|
<h5 style="font-weight: bold;text-align: right;">Value</h5>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[[range .EvalMatches]]
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="six">
|
|
|
|
|
<h5 class="data">[[.Metric]]</h5>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="six last" style="text-align: right; width:100px;">
|
|
|
|
|
<h5 class="data" style="text-align: right;">[[.Value]]</h5>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
[[end]]
|
|
|
|
|
</table>
|
|
|
|
|
</center>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2016-08-13 12:13:32 +02:00
|
|
|
</table>
|
|
|
|
|
[[end]]
|
|
|
|
|
|
|
|
|
|
<table class="row" >
|
2016-08-12 16:44:53 +02:00
|
|
|
<tr>
|
2016-09-07 13:51:17 +02:00
|
|
|
<td class="wrapper last">
|
|
|
|
|
<table class="twelve columns">
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="center">
|
2016-10-20 15:06:59 +02:00
|
|
|
[[if ne .ImageLink "" ]]
|
|
|
|
|
<img src="[[.ImageLink]]" alt="Alerting Panel"/>
|
|
|
|
|
[[end]]
|
2019-03-27 14:12:20 +05:30
|
|
|
[[if ne .EmbeddedImage "" ]]
|
|
|
|
|
<img src="cid:[[.EmbeddedImage]]" alt="Alerting Panel"/>
|
2016-10-20 15:06:59 +02:00
|
|
|
[[end]]
|
2016-09-07 13:51:17 +02:00
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2016-08-12 16:44:53 +02:00
|
|
|
</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">
|
2016-09-07 13:51:17 +02:00
|
|
|
<tr>
|
|
|
|
|
<td class="wrapper last">
|
|
|
|
|
<table class="twelve columns">
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="center six">
|
|
|
|
|
<table class="better-button" align="center" border="0" cellspacing="0" cellpadding="0">
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="center" class="better-button" bgcolor="#ff8f2b">
|
|
|
|
|
<a href="[[.RuleUrl]]" target="_blank">View your Alert rule</a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="center six">
|
|
|
|
|
<table class="better-button" align="center" border="0" cellspacing="0" cellpadding="0">
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="center" class="better-button-alt" bgcolor="#efefef">
|
|
|
|
|
<a href="[[.AlertPageUrl]]" target="_blank"> Go to the Alerts page</a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2016-08-12 16:44:53 +02:00
|
|
|
</table>
|
2016-06-17 15:30:17 +02:00
|
|
|
|
2016-06-17 16:43:14 +02:00
|
|
|
|