6.5.1

Table Of Contents
3 Click in the  column, and enter conguration information for actions that require
additional information:
Option Action
Send a notification email
Type email addresses, separated by a comma.
Migrate VM
Complete the virtual machine migration wizard.
Run a command
Take one of the following actions and press Enter:
n
If the command is a .exe le, enter the full path name of the command
and include any parameters. For example, to run the cmd.exe
command in the C:\tools directory, with the alarmName and
targetName parameters, type:
c:\tools\cmd.exe alarmName targetName
n
If the command is a .bat le, enter the full path name of the command
as an argument to the c:\windows\system32\cmd.exe command.
Include any parameters. For example, to run the cmd.bat command in
the C:\tools directory, with the alarmName and targetName
parameters, type:
c:\windows\system32\cmd.exe /c c:\tools\cmd.bat
alarmName targetName
For .bat les, the command and its parameters must be formaed into
one string.
4 (Optional) For each alarm status change column, select whether the alarm should be triggered when the
alarm status changes.
Some actions do not support re-triggering when alarm status change.
5 For repeat actions, select the time interval for the repetition.
6 Click Finish.
You congured the alarm general seings, triggers, and actions. The alarm monitors the object on which it is
dened, as well as child objects.
Send Email as an Alarm Action
You can use the SMTP agent included with vCenter Server to send email notications when alarms are
triggered.
Prerequisites
Ensure that the vCenter Server SMTP agent is properly congured to send email notications.
Required Privilege: Alarms.Create alarm or Alarms.Modify alarm
Procedure
1 On the Actions page of the alarm denition wizard, click Add to add an action.
2 In the Actions column, select Send a  email from the drop-down menu.
3 In the  column, enter recipient addresses. Use commas to separate multiple addresses.
4 (Optional) Congure alarm transitions and frequency.
vSphere Monitoring and Performance
114 VMware, Inc.