Note: This feature is currently in Beta.
Thanks to Dynatrace full-stack monitoring capabilities and our broad technology coverage, many Dynatrace environments are growing larger and more complex all the time, often spanning different data centers and multiple applications. This increases the need for organizing hosts into groups that can be configured independently. You may want to roll out new OneAgent versions earlier to some hosts, but not to others. Or you may want to track service metrics differently depending on what platform they run on. Host groups enable you to do just this.
Configure which host goes into which host group
A host can only be assigned to a host group at the time of OneAgent installation. Use the
HOST_GROUP parameter to assign the host to a group.
/bin/sh Dynatrace-OneAgent-Linux-1.137.65.sh HOST_GROUP=MyHostGroup
On Windows, you can also type the group name when installing OneAgent using the GUI installer.
Once the installation is complete, the host group is statically assigned to the host. Each host belongs to at most one host group and the host group can only be changed by re-installing OneAgent. Host groups are displayed for example on the Monitoring overview page. Click on the Host group link to edit the settings for all hosts in a host group.
How host groups affect your monitoring environment
Host groups are sets of hosts. Each group can be configured on the host-group level. This makes it easy to change the settings for a large number of hosts. You can define alerting thresholds and OneAgent update settings on a per-host-group basis. In the example below, the host group takes the global Anomaly thresholds and doesn't override them.
You can also define the OneAgent update settings and trigger the update for all the OneAgent installations of a single host group, as shown in the example below. Here the global settings are overridden and all OneAgent installations are automatically updated whenever a new version is released.
Additionally, host groups affect how process groups are detected. When the same process is running in two different host groups, Dynatrace will create one process group for each host group. This means you can also configure process groups differently depending on which host group they run in. Consequently, services are also grouped per host group. So you can configure services differently per host group.
Host groups can also be used in tagging rules and for defining Management zones so you can apply additional context information to the different entities in Dynatrace, based on host groups. As shown in the example below, you can tag entities based on the host group they belong to.