5.0

Table Of Contents
<Templates> Element
The first part of the emailFilter.xml file is a <Templates> element, which contains a series of <Template>
elements. Each element specifies the template file to use for alert email messages of a particular type, subtype,
and status. You can use the following types of template files.
Default templates
Default template files, which are included with vCenter Operations Manager,
are designed to use with an alert type, subtype, and status if a custom file is
not specified for the recipient. emailFilter.xml includes a <template> element
for each default template. Do not change these elements. To change the
messages sent to all users for a particular alert type, modify the default message
template.
Custom templates
Custom template files are unique to your installation and are designed for
particular users. The <template> element for a custom template includes a
<sendTo> attribute that specifies the recipient.
The following sample element is a default template.
<Template alert_type="ADMINISTRATIVE" alert_subtype="ENVIRONMENT" status="NEW">
New-Administrative-Environment.html</Template>
The following sample element is a custom template.
<Template sendTo="abc@example.com" alert_type="ADMINISTRATIVE" alert_subtype="ENVIRONMENT"
status="NEW">abc-New-Administrative-Environment.html</Template>
Table 7-1. <template> Element Attributes
Attribute Description and Values
alert_type
Alert type. Valid values are RESOURCE, TIER,
APPLICATION, FINGERPRINT_PREDICTION,
FINGERPRINT_GENERATION, SMART, CLASSIC, and
ADMINISTRATIVE.
alert_subtype
Alert subtype.
Valid values for Smart Alerts are EARLYWARNING,
KPI_BREACH, and KPI_PREDICTION.
Valid values for classic alerts are KPI_HT_BREACH,
NOTIFICATION, and ABNORMALITY.
Valid values for administrative alerts are SYSTEM and
ENVIRONMENT.
status
Change in alert condition that generated the notification.
Valid values are NEW, UPDATE, and CANCEL.
sendTo
Email address of the intended recipient. This attribute is used
only with custom templates.
The content of the <template> element is the file name of the template file.
Elements for General Settings
Email alert notifications use general settings.
VMware vCenter Operations Manager Enterprise Administration Guide
84 VMware, Inc.