01 Feb 2024 06:54 PM - last edited on 29 Feb 2024 09:33 AM by IzabelaRokita
Good afternoon everyone, I need your support in understanding a scenario when I am assigning the host group to a group of HOSTs
I am assigning a host group to a group of hosts via commands:
.\oneagentctl.exe --set-host-group=xxxxxxxx --restart-service
"When checking through this other command, it seems that this feature was indeed assigned to the host."
.\oneagentctl.exe --get-host-group
Despite having assigned it to the host in that order, when I go to the interface to visualize the data, it doesn't appear.
Example of how it should appear.
Additionally, there is a host that appears assigned to this host group, but the command has never been executed on it.
Thank you for your valuable help and guidance. Many thanks.
Solved! Go to Solution.
01 Feb 2024 08:21 PM
In my own experience, the host-group, when set after installation, takes a while to reflect in UI.
For how long are you waiting before check the host-group assignment in UI?
01 Feb 2024 08:42 PM
Depending on the size of your env, it may take longer, based on my own experience.
But you can confirm if the assignment takes effect checking the list of hosts by hostgroup in UI:
10 Apr 2024 07:53 PM
I just did a change moments ago, and was reflected in UI very fast. Small environment though, with a little bit more than 100 hosts...
02 Feb 2024 07:57 AM - edited 02 Feb 2024 07:57 AM
Hi,
It is weird, you can try from Dynatrace UI also, just to compare if you notice differences.
Best regards
02 Feb 2024 12:39 PM
Thank you very much for the input. I will make the change through that method, and I hope the host accepts it. In theory, it should work 🙂