Private
Public Access
1
0

added data to email body (alerts)

This commit is contained in:
Sander Roosendaal
2019-09-27 12:00:06 +02:00
parent 94686f020d
commit be231c7563
4 changed files with 8 additions and 4 deletions

View File

@@ -809,6 +809,7 @@ def handle_send_email_alert(
except KeyError:
pass
try:
report['Median'] = sigdig(stats['median'])
except KeyError:
@@ -831,6 +832,8 @@ def handle_send_email_alert(
'report':report,
'first_name':userfirstname,
'last_name':userlastname,
'startdate':stats['startdate'],
'enddate':stats['enddate'],
'siteurl':siteurl,
'rowerfirstname':rowerfirstname,
'alertname':alertname,