cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

henk_stobbe
DynaMight Champion
DynaMight Champion

Hello all,

When installing a oneAgent, you can select the hostgroup.

henk_stobbe_0-1717235131662.png

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

 

4 REPLIES 4

AntonioSousa
DynaMight Guru
DynaMight Guru

@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
Antonio Sousa

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.

Antonio Sousa

JoseRomero
Dynatrace Helper
Dynatrace Helper

Hi henk_stobbe,

Also you can change hostgroup by UI dyntrace. 

JoseRomero_0-1717515161550.png

JoseRomero_1-1717515203607.png

 

Featured Posts