If your script does not make use of the alarm environment variables, include any necessary parameters
in the configuration field. For example:
c:\tools\cmd.exe AlarmName targetName
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.
6
Click OK.
When the alarm triggers, the action defined in the script is performed.
Configure SNMP Settings for vCenter Server
To use SNMP with vCenter Server, you must configure SNMP settings using the vSphere Client.
Prerequisites
To complete the following task, the vSphere Client must be connected to a vCenter Server. In addition, you
need the DNS name and IP address of the SNMP receiver, the port number of the receiver, and the community
identifier.
Procedure
1
Select Administration > vCenter Server Settings.
2
If the vCenter Server is part of a connected group, in Current vCenter Server, select the appropriate server.
3
Click SNMP in the navigation list.
4
Enter the following information for the Primary Receiver of the SNMP traps.
Option
Description
Receiver URL
The DNS name and IP address of the SNMP receiver.
Receiver port
The port number of the receiver to which the SNMP agent sends traps.
If the port value is empty, vCenter Server uses the default port, 162.
Community
The community identifier.
5
(Optional) Enable additional receivers in the Enable Receiver 2, Enable Receiver 3, and Enable Receiver
4 options.
6
Click OK.
The vCenter Server system is now ready to send traps to the management system you have specified.
What to do next
Configure your SNMP management software to receive and interpret data from the vCenter Server SNMP
agent. See
“Configure SNMP Management Client Software,”
on page 53.
Configure vCenter Server SMTP Mail Settings
You can configure vCenter Server to send email notifications as alarm actions.
Prerequisites
Before vCenter Server can send email, you must perform the following tasks:
n
Configure the SMTP server settings for vCenter Server.
n
Specify email recipients through the Alarm Settings dialog box when you configure alarm actions.
To perform this task, the vSphere Client must be connected to a vCenter Server.
vSphere Basic System Administration
258
VMware, Inc.
Summary of Contents for 4817V62 - vSphere - PC
Page 13: ...Getting Started VMware Inc 13...
Page 14: ...vSphere Basic System Administration 14 VMware Inc...
Page 24: ...vSphere Basic System Administration 24 VMware Inc...
Page 38: ...vSphere Basic System Administration 38 VMware Inc...
Page 76: ...vSphere Basic System Administration 76 VMware Inc...
Page 85: ...Virtual Machine Management VMware Inc 85...
Page 86: ...vSphere Basic System Administration 86 VMware Inc...
Page 98: ...vSphere Basic System Administration 98 VMware Inc...
Page 131: ...3 Click OK Chapter 11 Creating Virtual Machines VMware Inc 131...
Page 132: ...vSphere Basic System Administration 132 VMware Inc...
Page 140: ...vSphere Basic System Administration 140 VMware Inc...
Page 172: ...vSphere Basic System Administration 172 VMware Inc...
Page 182: ...vSphere Basic System Administration 182 VMware Inc...
Page 200: ...vSphere Basic System Administration 200 VMware Inc...
Page 207: ...System Administration VMware Inc 207...
Page 208: ...vSphere Basic System Administration 208 VMware Inc...
Page 278: ...vSphere Basic System Administration 278 VMware Inc...
Page 289: ...Appendixes VMware Inc 289...
Page 290: ...vSphere Basic System Administration 290 VMware Inc...
Page 324: ...vSphere Basic System Administration 324 VMware Inc...
Page 364: ...vSphere Basic System Administration 364 VMware Inc...