5.0

Table Of Contents
In this example, the first message is sent two hours after the alert condition occurs and the message repeats
every hour until the condition is resolved.
You can enter as many <FilterRule> elements as necessary to filter alert notifications and send each notification
to the correct members of your organization. If an alert matches the conditions for more than one filter, it is
sent to the address for each condition that it matches.
Email Template File Format
An email template file can be in text (.txt) or HTML (.html) format. The default email template files are HTML
files.
Formatting Rules
Email template files must follow specific formatting rules.
n
If you create an email template in HTML format, it must contain standard HTML formatting tags.
n
An email template file can contain a single line for the message subject and any amount of text for the
message body.
n
The subject line in an email template file must start with $$SUBJECT=. The text that follows the equals sign
is the message subject. If you do not include a subject line, the message uses a default subject.
n
You must store custom email template files in the
vcenter-
ops
\user\plugins\outbound\filter_alertplugin\conf\custom_templates directory.
Placeholders
All email template files can include placeholders, which are replaced with information from the alert. A
placeholder can be a replaced by a single value, such as an alert type, or it can represent multiple values, such
as the health of the parent or child resources. Placeholders must be enclosed in double braces ({{}}). The subject
line can contain only single-value placeholders.
Table 7-4. Placeholders
Single-Value Placeholders Multiple-Value Placeholders
{{AffectedResourceKind}} {{KPIFiring}}
{{AlertCriticality}} {{ParentsHealth}}
{{AlertMessage}} {{Alarms}}
{{AlertSubType}} {{AlertRootCause}}
{{AlertUpdateTime}} {{ChildrenHealth}}
{{AffectedResourceName}} {{AlertRootCauseDetails}}
{{AlertGenerateTime}}
{{AlertOwner}}
{{AlertTrigger}}
{{FilterRuleName}}
{{AlertCancelTime}}
{{AlertId}}
{{AlertStatus}}
{{AlertType}}
Chapter 7 Configuring Alert Notifications
VMware, Inc. 87