5.7

Table Of Contents
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
{{AlertId}} {{KPIFiring}}
{{AlertStatus}} {{Anomalies}}
{{AlertType}} {{ChildrenHealth}}
{{AlertSubType}} {{ParentsHealth}}
{{AlertCriticality}} {{AlertRootCause}}
{{AffectedResourceName}} {{AlertRootCauseDetails}}
{{AffectedResourceKind}} {{AlertTrigger}}
{{AlertGenerateTime}}
{{AlertUpdateTime}}
{{AlertCancelTime}}
{{AlertMessage}}
{{AlertOwner}}
{{AlertSummaryLink}}
{{AlertDetailLink}}
{{vcopsServerName}}
{{FilterRuleName}}
{{ConsolidatedAffectedResourcesCount}}
{{ConsolidatedAffectedResourcesAddedCount}}
{{ConsolidatedAffectedResourcesRemovedCount}}
{{ConsolidatedAffectedResourcesCountChange}}
{{ConsolidatedAffectedResourcesList}}
{{AlertHints}}
Add a Filtering Rule
A filtering rule is a set of conditions and email addresses. The vCenter Operations Manager email plug-in uses
filtering rules to send email alert notifications to the proper users based on the affected application, resource
kind, alert level, and other criteria.
You define filtering rules in the emailFilter.xml file, which is in the vcenter-
ops\user\plugins\outbound\filter_alertplugin\conf directory.
If you are using the vCenter Operations Manager vApp, edit the emailFilter.xml file on the second virtual
machine.
For vCenter Operations Manager Standalone, you can edit emailFilter.xml directly or you can use the
Configuration File editor. This procedure describes how to use the Configuration File editor.
Chapter 7 Configuring Alert Notifications
VMware, Inc. 87