5.7

Table Of Contents
emailFilter.xml File
emailFilter.xml is an XML file that defines the filtering rules and template files to use for email alert
notifications. The file also contains general settings that apply to all email alert notifications.
IMPORTANT Do not edit emailFilter.xml directly unless you are familiar with XML structure and syntax. A
formatting mistake might prevent email alert notifications from working. If you edit emailFilter.xml directly,
make a backup copy of the file before you change it.
After you edit the emailFilter.xml file, you must restart the email filter plug-in instance in
vCenter Operations Manager to make your changes take effect.
Sample emailFilter.xml File
This sample emailFilter.xml file shows the entire content of emailFilter.xml contained within the
<EmailFilter> and </EmailFilter> tags. None of the entries are case-sensitive.
<EmailFilter >
<Templates>
<Template alert_type="Administrative" alert_subtype="Environment"
status="New">New-Administrative-Environment.html</Template>
<Template alert_type="Administrative" alert_subtype="Environment"
status="Cancel">Cancel-Administrative-Environment.html</Template>
<Template alert_type="Administrative" alert_subtype="System"
status="New">New-Administrative-System.html</Template>
<Template alert_type="Administrative" alert_subtype="System"
status="Cancel">Cancel-Administrative-System.html</Template>
...
</Templates>
<SendFromEmail>name1@example.com</SendFromEmail>
<FilterRule name="WebTierAlerts">
<Conditions>
<condition type="Application">Online Trading</condition>
<condition type="Tier">Online Trading:Web</condition>
<condition type="Tier">Online Trading:Web</condition>
<condition type="Level">Critical</condition>
</Conditions>
<Addresses>
<sendTo type="email">name2@example.com</sendTo>
<sendTo type="sms">9495554444@vtext.com </sendTo>
</Addresses>
</FilterRule>
<FilterRule name="ResourceKindAlerts">
<Conditions>
<condition type="ResourceKind">OPEN_API:DEMO</condition>
<condition type="Status">New</condition>
<condition type="Tag">Location:NewYork</condition>
</Conditions>
<Addresses>
<sendTo type="email">name3@example.com</sendTo>
VMware vCenter Operations Manager Administration Guide
82 VMware, Inc.