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

Divide Group Service by Host

manuel_mandagli
Participant

Hi,

i'm working on design Dynatrace environment after installing the agent on two different host group.

I have some problem with "monitored services", where some services with the same name but different host group are merge together. I attach an example of wrong group.

I can't create two different Environments because same metrics of different groups host must be shown together.

Is there any way to divide the services by host? Are there any other methods to obtain what I want?

10 REPLIES 10

michael_kopp
Dynatrace Pro
Dynatrace Pro

Hi @Manuel M.,

We are actually coming out with a feature to group hosts, soon. In the mean time the best way to achieve what you want is to name the jboss on the respective hosts differently. See this article on how to do this. You can either use a java system property or an environment variable. This will split the jboss into two separate process groups aka clusters which also results in a split of the service.

I hope this answers your question?

Best

Michael

thank you Michael, i wait the new release:)

I already try your explain method, but now that i know it's the only way i drill down on it

manuel_mandagli
Participant

Hi Michael,

I read the linked page and in my situation I can't set the environment variable "DT_CLUSTER_ID" and there isn't a unique system property that I can use. Can I use another environment variable for example "HOSTNAME"? how?

michael_kopp
Dynatrace Pro
Dynatrace Pro

Can you add a new system property to your jboss or is it not possible to modify the deployment?

Can I ask why you want to devide it by hostname? is it because the the jboss' don't form a cluster or because you want to be able to look at single instances of the cluster. If it is the later, then please look on the details page of the service, you can look at the single instances there.

manuel_mandagli
Participant

no i can't add a new system property.

i have two services with the same name for two different Customers. I need that this two services belongs to two different groups (one for Customers name).

My scope is to use that specific groups to create a tow different Customers Dashboard and divide metrics.

In addition i have to create another Global dashboard for all Customers, so i can't divide client in different enviroments.

michael_kopp
Dynatrace Pro
Dynatrace Pro

@Manuel M.

The only way to do that is to either add an environment variable to the process or to add a system property to the process or to use an upcoming host grouping feature.

Can you modify anything on the setup? like the Dynatrace configuration file?

thanks Michael, we'll speak about with our developper

Hi Michael, is this host grouping feature available? There is HOST_GROUP parameter of the oneagent installation script, but it appears not supported ...

abhimanyu_bhatn
Newcomer

Is there way i can set a host_ group after agent installation on windows host @ALEXANDRE I. @Michael K.

Hi Abhimanyu,

According to the docs:

"A host can be assigned to a host group only at the time of OneAgent installation. Use the HOST_GROUP parameter to assign a host to a group.

/bin/sh Dynatrace-OneAgent-Linux-1.137.65.sh HOST_GROUP=MyHostGroup

On Windows, you can also type the group name when installing OneAgent."


Keep calm and build Community!