
Monitoring vCenter Server Appliance
Learner Objectives
After completing this lesson, you should be able to meet the following objectives:
- View vCenter Server logs and events
- Manage vCenter Server services
- Monitor vCenter Server Appliance for service and disk space usage
- Use vSphere alarms for resource exhaustion and service failures
vCenter Server Events
The vCenter Server events and audit trails allow selectable retention periods in increments of 30 days:
- User-action information includes the user’s account and specific event details.
- All actions are reported, including file ID, file path, source of operation, operation name, and date and time of operation.
- Events and alarms are displayed to alert the user to changes in the vCenter Server service health or when a service fails.
About Log Levels
You can set log levels to control the quantity and type of information logged. Examples of when to set log levels:
- When troubleshooting complex issues, set the log level to verbose or trivia. Troubleshoot and set it back to info.
- For controlling the amount of information being stored in the log files.
Option | Description |
None | Turns off logging |
Error (errors only) | Displays only error log entries |
Warning (errors and warnings) | Displays warning and error log entries |
Info (normal logging) | Displays information, error, and warning log entries |
Verbose | Displays information, error, warning, and verbose log entries |
Trivia (extended verbose) Displays information, error, warning, verbose, and trivia log entries
Setting Log Levels
You can configure the amount of detail that vCenter Server collects in log files:
- You can edit the log levels in the vSphere Client.
- More verbose logging requires more space on your vCenter Server system.
Forwarding vCenter Server Appliance Log Files to a Remote Host
vCenter Server and ESXi can stream their log information to a remote Syslog server:
- You can enable this feature in the vCenter Server Appliance Management Interface.
- With this feature, you can further analyze vCenter Server Appliance log files with log analysis products, such as vRealize Log Insight.
vCenter Server Database Health
vCenter Server checks the status of the database every 15 minutes:
- By default, database health warnings trigger an alarm when the space used reaches 80 percent.
- The alarm changes from warning to error when the space used reaches 95 percent.
- vCenter Server services shut down so that you can configure more disk space or remove unwanted content.
You can also monitor database space utilization using the vCenter Server Appliance Management Interface.
Monitoring vCenter Server Appliance
The vCenter Server Appliance Management Interface has a built-in monitoring interface.
Monitoring vCenter Server Appliance Services
You can use the vCenter Server Appliance Management Interface to monitor the health and state of the vCenter Server Appliance services. You can restart, start, or stop services from this interface.
Monthly Patch Updates for vCenter Server Appliance
VMware provides monthly security patches for vCenter Server Appliance:
- Critical vulnerability patches are delivered on a monthly release cycle.
- Important and low vulnerabilities are delivered with the next available vCenter Server patch or update.
You can configure the vCenter Server Appliance to perform automatic checks for available patches in the configured repository URL at a regular interval.
Review of Learner Objectives
After completing this Monitoring vCenter Server Appliance lesson, you should be able to meet the following objectives:
- View vCenter Server logs and events
- Manage vCenter Server services
- Monitor vCenter Server Appliance for service and disk space usage
- Use vSphere alarms for resource exhaustion and service failures