6.0.1
Table Of Contents
- vSphere Monitoring and Performance
- Contents
- About vSphere Monitoring and Performance
- Updated Information
- Monitoring Inventory Objects with Performance Charts
- Performance Chart Types
- Data Counters
- Metric Groups in vSphere
- Data Collection Intervals
- Data Collection Levels
- View Performance Charts
- Performance Charts Options Available Under the View Menu
- Overview Performance Charts
- Clusters
- Datacenters
- Datastores
- Disk Space (Data Counters)
- Disk Space (File Types)
- Disk Space (Virtual Machines)
- Storage I/O Control Normalized Latency
- Storage I/O Control Aggregate IOPs
- Storage I/O Control Activity
- Average Device Latency per Host
- Maximum Queue Depth per Host
- Read IOPs per Host
- Write IOPs per Host
- Average Read Latency per Virtual Machine Disk
- Average Write Latency per Virtual Machine Disk
- Read IOPs per Virtual Machine Disk
- Write IOPs per Virtual Machine Disk
- Virtual Machine Observed Latency per Datastore
- Hosts
- Resource Pools
- vApps
- Virtual Machines
- CPU (%)
- CPU Usage (MHz)
- Disk (Average)
- Disk (Rate)
- Disk (Number)
- Virtual Disk Requests (Number)
- Virtual Disk Rate (KBps)
- Memory (Usage)
- Memory (Balloon)
- Memory (Swap Rate)
- Memory (Data Counters)
- Network (Usage)
- Network (Rate)
- Network (Packets)
- Disk Space (Data Counters)
- Disk Space (Datastores)
- Disk Space (File Types)
- Fault Tolerance Performance Counters
- Working with Advanced and Custom Charts
- Troubleshoot and Enhance Performance
- Monitoring Guest Operating System Performance
- Monitoring Host Health Status
- Monitoring Events, Alarms, and Automated Actions
- View Events
- View System Logs
- Export Events Data
- View Triggered Alarms and Alarm Definitions
- Live Refresh of Recent Tasks and Alarms
- Set an Alarm
- Acknowledge Triggered Alarms
- Reset Triggered Event Alarms
- Preconfigured vSphere Alarms
- Monitoring Solutions with the vCenter Solutions Manager
- Monitoring the Health of Services and Nodes
- Performance Monitoring Utilities: resxtop and esxtop
- Using the vimtop Plug-In to Monitor the Resource Usage of Services
- Monitoring Networked Devices with SNMP and vSphere
- Using SNMP Traps with vCenter Server
- Configure SNMP for ESXi
- SNMP Diagnostics
- Monitor Guest Operating Systems with SNMP
- VMware MIB Files
- SNMPv2 Diagnostic Counters
- System Log Files
- Index
Specify Alarm Actions
You can define actions that the system performs when the alarm is triggered or changes status. You can
enable and disable alarms and alarm actions independently of each other.
vCenter Server can perform alarm actions in response to triggered alarms.
Prerequisites
Verify that you have navigated to the Actions page of the alarm definition wizard. See “View and Edit
Alarm Settings,” on page 109.
Required Privilege: Alarms.Create alarm or Alarms.Modify alarm
n
Send Email as an Alarm Action on page 113
You can use the SMTP agent included with vCenter Server to send email notifications when alarms are
triggered.
n
Send SNMP Traps as an Alarm on page 114
The SNMP agent included with vCenter Server can be used to send traps when alarms are triggered
on a vCenter Server instance. The default hardware health alarms send SNMP traps by default.
n
Run a Script or a Command as an Alarm Action on page 114
You can configure an alarm to run a script or a command in the vSphere Web Client when the alarm is
triggered.
Procedure
1 Select the action that you want to change, or click the Add icon to add one.
2 Click in the Action column, and select an option from the drop-down menu.
3 Click in the Configuration column, and enter configuration 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 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, 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.
vSphere Monitoring and Performance
112 VMware, Inc.