Add mail templates, plus initial status alert delay for probes
i.e. let the temp get "proper bad" (for some minutes) before alerting
This commit is contained in:
parent
d87ea6c22d
commit
646f09a413
6 changed files with 95 additions and 1 deletions
10
rattail_tempmon/templates/mail/tempmon_error.html.mako
Normal file
10
rattail_tempmon/templates/mail/tempmon_error.html.mako
Normal file
|
@ -0,0 +1,10 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<html>
|
||||
<body>
|
||||
<p>At ${taken or now}, ${probe} reported that its status was: ${status}.<br>
|
||||
Something went wrong. Please investigate as soon as possible.
|
||||
</p>
|
||||
<p>This email will repeat every 15 minutes until the issue is resolved.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue