6.5.1
Table Of Contents
- vSphere Monitoring and Performance
- Contents
- About vSphere Monitoring and Performance
- 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
- Data centers
- Datastores and Datastore Clusters
- Disk Space (Data Counters)
- Disk Space (File Types)
- Disk Space (Datastores)
- 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
- Streaming Events to a Remote Syslog Server
- Retention of Events in the vCenter Server Database
- 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 Use 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
- View System Log Entries
- View System Logs on an ESXi Host
- System Logs
- Export System Log Files
- ESXi Log Files
- Upload Logs Package to a VMware Service Request
- Configure Syslog on ESXi Hosts
- Configuring Logging Levels for the Guest Operating System
- Collecting Log Files
- Viewing Log Files with the Log Browser
- Enable the Log Browser Plug-In on the vCenter Server Appliance
- Enable the Log Browser Plug-In on a vCenter Server Instance That Runs on Windows
- Retrieve Logs
- Search Log Files
- Filter Log Files
- Create Advanced Log Filters
- Adjust Log Times
- Export Logs from the Log Browser
- Compare Log Files
- Manage Logs Using the Log Browser
- Browse Log Files from Different Objects
- Index
n
If you are conguring informs, you need the engine ID for the SNMP agent on the remote system that
receives the inform message.
n
Congure the ESXi SNMP agent by using the ESXCLI commands. See Geing Started with vSphere
Command-Line Interfaces for more information on how to use ESXCLI.
Procedure
1 (Optional) If you are conguring informs, congure the remote users by running the esxcli system
snmp set command with the --remote-users option.
For example, run the following command:
esxcli system snmp set --remote-users userid/auth-protocol/auth-hash/priv-protocol/priv-
hash/engine-id
The command accepts the following parameters:
Parameter Description
userid The user name.
auth-protocol
The authentication protocol, none (for no authentication), MD5, or SHA1.
auth-hash
The authentication hash or - if the authentication protocol is none.
priv-protocol
The privacy protocol, AES128, or none.
priv-hash
The privacy hash, or - if the privacy protocol is none.
engine-id The engine ID of the SNMP agent on the remote system that receives the inform message.
2
Run the esxcli system snmp set command with the --v3targets option.
For example, run the following command:
esxcli system snmp set --v3targets hostname@port/userid/secLevel/message-type
The parameters of the command are as follows.
Parameter Description
hostname The host name or IP address of the management system that receives the traps or informs.
port The port on the management system that receives the traps or informs. If you do not specify a port,
the default port, 162, is used.
userid The user name.
secLevel
The level of authentication and privacy you have congured. Use auth if you have congured
authentication only, priv if you have congured both authentication and privacy, and none if you
have congured neither.
message-type
The type of the messages received by the management system. Use trap or inform.
3 (Optional) If the ESXi SNMP agent is not enabled, run the following command:
esxcli system snmp set --enable true
4 (Optional) Send a test notication to verify that the agent is congured correctly by running the esxcli
system snmp test command.
The agent sends a warmStart notication to the congured target.
Chapter 9 Monitoring Networked Devices with SNMP and vSphere
VMware, Inc. 159