Where does Dynatrace put the hostgroup parameter for the oneAgent install?

Hello all,

When installing a oneAgent, you can select the hostgroup.

I know you can overrule this while installing, but my simple question is:

Where does Dynatrace put this param, I can not find it so it must be in the generated exe?

KR Henk

@henk_stobbe,

It is not in the installer. It’s in the command line parameters when you install. The parameter is “set-host-group”, and in Linux it appears like the following:

  • /bin/sh Dynatrace-OneAgent-Linux-1.291.107.20240517-125257.sh --set-monitoring-mode=fullstack --set-app-log-content-access=true --set-host-group=hg_test

Hi Antonio,

Thanks for your reply! I was looking at the MSI and BAT you can create for windows. It seems that this is an option that’s gets lost.  So you should manually modify the BAT in this case )-;

KR Henk

@henk_stobbe,

It’s really better that you pass it as a parameter. You can thus use it in several conditions, including different host groups, network zones, etc.

That I know of, the installers do include fixed parameters, including the tenant, tenant token, and a list of pre-defined servers where the OneAgent can connect.

Hi henk_stobbe,

Also you can change hostgroup by UI dyntrace.