6.0

Table Of Contents
3 Click in the Configuration column and enter configuration information for those actions that require
additional information:
Option Action
Send a notification email
Enter email addresses, separated by a comma, and press Enter.
Migrate a VM
Complete the Migrate Virtual Machine wizard .
Run a command
Take one of the following actions and press Enter:
n
If the command is a .exe file, 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 file, 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 files, the command and its parameters must be formatted
into one string.
4 (Optional) For each alarm status change column, specify whether the alarm should be triggered when
the alarm status changes.
Some actions do not support re-triggering on alarm status change.
5 For repeat actions, enter the time interval for the repetition in Repeat After.
What to do next
Click OK to save the alarm definition and exit the dialog box, or navigate to a different tab to make further
changes.
Send Email as an Alarm Action
You can use the SMTP agent included with vCenter Server to send email notifications when alarms are
triggered.
Prerequisites
Ensure that the vCenter Server SMTP agent is properly configured to send email notifications.
Required Privilege: Alarms.Create alarm or Alarms.Modify alarm
Procedure
1 In the Actions tab of the Alarm Settings dialog box, click Add to add an action.
2 In the Actions column, selectSend a notification email from the drop-down menu.
3 In the Configuration column, enter recipient addresses. Use commas to separate multiple addresses.
4 (Optional) Configure alarm transitions and frequency. See “Specify Which Actions to Perform When
Triggered,” on page 415.
What to do next
Click OK to save the alarm definition and exit the dialog box, or navigate to a different tab to make further
changes.
vSphere Administration with the vSphere Client
416 VMware, Inc.