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

Is it possible to set host groups yet without the need for reinstall?

DynaMight Champion
DynaMight Champion

Anyone know if it is possible yet to set a host group for the first time on OneAgents which currently exist without the need for reinstall?



Dynatrace Champion
Dynatrace Champion

Hi Larry,
You can use the OneAgent CLI that is located with the OneAgent.


Right, but I think that is only if you installed the OneAgent and called out a host group at that time. I am wondering if it is possible to now use that to configure a host group on OneAgents where host group was never used before without the need to reinstall.

I believe so, however this still requires an agent restart

Yes, you can set it via --set-host-group and there is even a convenient --restart-service you can add to do the stop/change/start of the oneagent service from a one liner, so it looks like this:

./oneagentctl --set-host-group EasyTravel_WebServer_Dev --restart-service

Nice! Have to love that. Thanks!

DynaMight Legend
DynaMight Legend

yes thats correct, you can but it will require a recycle of the oneagent process/Service FYI. Even if you did not define the host group at the time of install.


Featured Posts