Created
May 29, 2015 14:11
-
-
Save anonymous/1d5506d8a90e0085327d to your computer and use it in GitHub Desktop.
E-mail body HTMl Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body style="font-family: 'Arial'; margin: 24px; color: #505050;"> | |
<table style="border: 0px;" cellpadding="0" cellspacing="0"> | |
<tr> | |
<td style="width: 5px; margin-right: 8px;"> | |
<imgsrc="dtbundleresource:${IMAGE_WARNING_OK}" /> | |
</td> | |
<td style="width: 700px;"> | |
<div style="font-size: 1.5em; font-weight:bold;">${SEVERITY} Incident(adv) ${INCIDENT_STARTED_ENDED}: ${RULE_NAME} | |
</div> | |
</td> | |
</tr> | |
<tr> | |
<td colspan="2"> | |
<divstyle="font-size: 0.8em; color: #737373; margin-top: 5px; width: 800px;">${RULE_DESCRIPTION} | |
</div> | |
</td> | |
</tr> | |
</table> | |
<br> | |
<div><img style="margin-top: 20px;"src="dtbundleresource:res/separator.png"> | |
</div> | |
<br> | |
<div style="font-weight:bold;">My Details | |
</div> | |
<table style="border: 0px; margin-top: 5px;" cellpadding="0" cellspacing="0"> | |
<tr> | |
<td style="vertical-align: top; width: 180px;"> | |
<div style="font-size: 0.8em;">Time: | |
</div> | |
</td> | |
<td> | |
<div style="font-size: 0.8em;">${START_TIME} | |
</div> | |
</td> | |
</tr> | |
<tr> | |
<td style="vertical-align: top; width: 180px;"> | |
<div style="font-size: 0.8em;">Monitors: | |
</div> | |
</td> | |
<td> | |
<div style="font-size: 0.8em;">${MONITOR_NAME} | |
</div> | |
</td> | |
</tr> | |
<tr> | |
<td style="vertical-align: top; width: 180px;"> | |
<div style="font-size: 0.8em;">System Profile: | |
</div> | |
</td> | |
<td> | |
<div style="font-size: 0.8em;">${SYSTEM_PROFILE} | |
</div> | |
</td> | |
</tr> | |
<tr> | |
<td style="vertical-align: top; width: 180px;"> | |
<div style="font-size: 0.8em;">Application: | |
</div> | |
</td> | |
<td> | |
<div style="font-size: 0.8em;">${APPLICATION} | |
</div> | |
</td> | |
</tr> | |
<tr> | |
<td style="vertical-align: top; width: 180px;"> | |
<div style="font-size: 0.8em;">Hosts: | |
</div> | |
</td> | |
<td> | |
<div style="font-size: 0.8em;">${MONITOR_HOST}, ${MONITOR_HOST_1}, ${MONITOR_HOST_2}, ${MONITOR_HOST_3}, ${MONITOR_HOST_4}, ${MONITOR_HOST_5} | |
</div> | |
</td> | |
</tr> | |
<tr> | |
<td style="vertical-align: top; width: 180px;"> | |
<div style="font-size: 0.8em;">Severity: | |
</div> | |
</td> | |
<td> | |
<div style="font-size: 0.8em;">${SEVERITY} | |
</div> | |
</td> | |
</tr> | |
</table> | |
<br> | |
<br> | |
<div style="font-weight: bold;">My Violations | |
</div> | |
<table style="border: 0px; margin-top: 5px;" cellpadding="0" cellspacing="0"> | |
<tr> | |
<td style="vertical-align: top; width: 180px;"> | |
<div style="font-size: 0.8em;">${VIOLATION_HEADER_1}: | |
</div> | |
</td> | |
<td> | |
<div style="font-size: 0.8em;">${VIOLATION_MESSAGE_1} | |
</div> | |
</td> | |
</tr> | |
</table> | |
<div> | |
<img style="margin-top: 20px;" src="dtbundleresource:res/separator.png"> | |
</div> | |
<table> | |
<tr> | |
<td style="width: 200px;"> | |
<div> | |
<img style="margin-top: 20px;" src="dtbundleresource:res/dynatrace_logo.png"> | |
</div> | |
</td> | |
<td style="width: 220px;"> | |
<div> | |
<a style="a: link:text-decoration:underline; font-size: 0.8em; font-weight: bold; color: #505050;a: visited:text-decoration:underline; font-size: 0.8em; font-weight: bold; color: #505050; a: hover:text | |
decoration:underline; font-size: 0.8em; font-weight: bold; color: #808080;" href="http://127.0.0.1:8020/webstart/Client/client.jnlp?&argument=-reuse&argument=-incident&argument==${SYSTEM_PROFILE}& | |
amp;argument=${KEY}">View in the dynaTrace local Client 1 | |
</a> | |
</div> | |
</td> | |
<td style="width: 125px;"> | |
<div> | |
<a style="a: link:text-decoration:underline; font-size: 0.8em; font-weight: bold; color: #505050; a: visited:text-decoration:underline; font-size: 0.8em; font-weight: bold; color: #505050; a: hover:text-decoration:underline; | |
font-size: 0.8em; font-weight: bold; color: #808080;" | |
</a> | |
</table> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment