The following applies to VMware only. For other virtualization platforms, you only need to install OneAgent for virtualized host monitoring, as the monitoring of virtualization management layers is supported only for VMware.
Once Dynatrace OneAgent is installed and process monitoring is activated on a virtual machine, you can see what's happening in your operating system—specifically, how your host-based processes behave and communicate.
Dynatrace collects information related to virtualized CPU usage, memory consumption, and storage-related activities. Dynatrace also detects virtual machine migrations (vMotion) and the creation of new virtual machines.
Follow the steps below to set up monitoring on the virtualization management layer of your VMware vCenter or standalone ESXi hosts.
- Read-only access to vCenter server, or access to the standalone ESXi host.
1. Install and configure ActiveGate
Install an Environment ActiveGate in your data center before connecting Dynatrace to your VMware platform.
For Dynatrace Managed you can use the embedded ActiveGate running on the cluster node. However, the Cluster ActiveGate is typically used to forward RUM and/or Synthetic monitoring data to the Dynatrace Cluster. We recommend that you don't overutilize this ActiveGate with another type of monitoring data. Depending on the VMware size, you might consider using a dedicated ActiveGate per environment.
To enable virtualization monitoring, go to
custom.properties and make sure to set the
VMwareAgentEnabled in the
truefor the ActiveGate dedicated to VMware
falseon all other Cluster ActiveGates.
See Configure the ActiveGate for details.
2. Connect Dynatrace to your VMware platform
To connect Dynatrace to your VMware platform
Go to Settings > Cloud and virtualization > VMware, and select Connect new instance.
Select the IP address or name of the vCenter server or standalone ESXi host you want to monitor (skip the
Check the network/proxy settings.
If you get a communication error even though the data provided is correct, it might be because of your network/proxy settings. We recommend that you revise the network/proxy settings when adding a new VMware integration.
You can also bypass the proxy for connecting with vCenter or ESXi when configuring the VMware integration. Use the
nonProxyHosts parameter configured in the
launcheruserconfig.conf file to exclude a specific host from proxy. See Setting up proxy for ActiveGate.
- Enter the associated user credentials so that ActiveGate can sign in and collect monitoring data. The required privileges for this user are view and read-only access. Administrator-level access isn't required to enable monitoring (no changes to your VMware settings are required).
You don’t need to add ESXi hosts individually if they're managed by a vCenter server.
- Select Connect.
Differences in system time can lead to missing VMware metrics. For Dynatrace to properly display monitoring data, you must synchronize time settings on all monitored host environments and vCenters with an NTP server.
To cover your entire virtual infrastructure, repeat these steps for all other vCenter servers or standalone ESXi hosts in your environment.