Host groups enable you to categorize and manage multiple hosts that share similar characteristics or purposes within your environment.
To determine the host group to which a host belongs
The Host group property is not displayed when the selected host doesn't belong to any host group.
<group name>
link, where <group name>
is the name of the host group that you want to configure.To list all hosts in a host group
You can assign a host to a host group during or after OneAgent installation.
During OneAgent installation
To assign a host to a host group when you install OneAgent, use the --set-host-group
parameter, shown in the example below.
/bin/sh Dynatrace-OneAgent-Linux-1.177.65.sh --set-host-group=MyHostGroup
On Windows, you can also type the group name in the installer UI.
After OneAgent installation
To assign a host to a host group after you install OneAgent
Host group string requirements
dt.
.The host group is statically assigned to the host. Each host belongs to at most one host group and the host group can be changed by using the 'oneagentctl' command, remote configuration management, or by re-installing OneAgent. Host groups are displayed, for example, on the Hosts page from the Infrastructure & Operations app, and on the Monitoring overview page, where you can select the Host group link to edit the settings for all hosts in a host group.
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 accepts the globally-configured anomaly thresholds without overriding 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.