11 May 2023
05:51 AM
- last edited on
11 May 2023
11:45 PM
by
MaciejNeumann
Hello, I would like to know if there is a way to update HOSTGROUP information in a way of script to many hosts. The hosts were never assigned any hostgroup. Is there a way to updated it using some kind of script?
Thanks.
Solved! Go to Solution.
Hello @alexrp25,
there are multiple ways to do that,
Or you can add the hosts to an existing host group or add a new host group using UI
Deployment Status - Select the required hosts - select modify host group from the remote configuration list - and choose the required hostgroup
Or to use oneagentctl but you have to access the servers where oneagent is installed and execute the command
https://www.dynatrace.com/support/help/shortlink/oneagentctl#host-groups
don't forget to add --restart-service
Featured Posts