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
n
logRegexp specifies a case-sensitive phrase with Python regular expression syntax to filter the log
messages by their content.
For example, if you want to set a limit of maximum two log entries from the hostd component for
messages that resemble the SOCKET connect failed, error 2: No such file or directory phrase with
any error number, add the following entry:
2 | hostd | SOCKET connect failed, error .*: No such file or directory
NOTE A line starting with # denotes a comment and the rest of the line is ignored.
3 In the /etc/vmsyslog.conf file, add the following entry to enable the log filtering capability.
enable_logfilters = true
4 Run the esxcli system syslog reload command to reload the syslog daemon and apply the
configuration changes.
Turn Off Compression for vpxd Log Files
By default, vCenter Server vpxd log files are rolled up and compressed into .gz files. You can turn off this
setting to leave the vpxd logs uncompressed.
Procedure
1 Log in to the vCenter Server using the vSphere Web Client.
2 Select Administration > vCenter Server Settings.
3 Select Advanced Settings.
4 In the Key text box, type log.compressOnRoll.
5 In the Value text box, type false.
6 Click Add, and click OK.
ESXi VMkernel Files
If the VMkernel fails, an error message appears and then the virtual machine reboots. If you specified a
VMware core dump partition when you configured your virtual machine, the VMkernel also generates a
core dump and error log.
More serious problems in the VMkernel can freeze the machine without an error message or core dump.
Viewing Log Files with the Log Browser
You can view, search, and export one or more vCenter Server and ESXi log files at a time using the log
browser.
You can also export, manage, and view different log types.
NOTE The log browser cannot be used for the Platform Services Controller in the vCenter Server Appliance
or vCenter Server on Windows.
Retrieve Logs
When you retrieve logs for a host or vCenter Server, you can use these logs to view, search, filter, and
compare with other system logs.
Procedure
1 Navigate to the host or vCenter Server that contain the logs you want to retrieve.
Chapter 10 System Log Files
VMware, Inc. 171