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

Process Grouping: How to separate process

JorgePozuelo
Frequent Guest

Hello,

 

We are trying to separate process groups into several depending on Software AG install path property. We are really missing regex funcionallity on Advanced Detection Rules configuration.

 

Right now, we have a cluster with two nodes and four process flavours clusters. Dynatrace is detecting all of them as a single process group. Installation path are like this:

 

/apps/webMethods*/wm/profiles/IS_nobpm_1_1_01/../..
/apps/webMethods*/wm/profiles/IS_nobpm_2_1_01/../..

 

/apps/webMethods*/wm/profiles/IS_nobpm_1_2_01/../..
/apps/webMethods*/wm/profiles/IS_nobpm_2_2_01/../..

 

We need to separate it by having .../IS_nobpm_X_1_01/ instances grouped and .../IS_nobpm_X_2_01 on a different process grouping. So, in:

/apps/webMethods*/wm/profiles/IS_nobpm_X_Y_01/../..

 

X represents differents clusters and Y represents different nodes of the cluster.

 

We are climbing a wall wile getting the correct config.

 

Thanks

 

5 REPLIES 5

If there is no other value in the process metadata that correlates to the version difference, you might have to add another java variable to your configs to be used by the Dynatrace process group detection (if you are able to do this).

Malaik
Champion

Hello,

 

You can the ENV Variables:

DT_Cluster_ID

DT_Node_ID

 

The documentation is explicit to do it.

 

Have a good day.

 

Sharing Knowledge

mgome
Advisor

The key is to find the correct property that has the installation path like "Java JAR path", "Command line args", or maybe "EXE path". Then you can set "Delimit from" to /profiles/ and "Delimit to" to / ?  Uncheck the "Ignore numbers" option.

 

Another option is to copy the command line args into Vim, do a string replace of the space character with a carriage return, %s/ /\r/g, and see if anything in the command line args can be used to identify instances.  

Thanks @mgome ,

 

Installation path is an available option while configuring a new Advanced rule. Main problem is that we don't get a configuration, by using 'Delimit from/to' options to ignore the first number, but not the rest:

 

/apps/webMethods*/wm/profiles/IS_nobpm_X_Y_01/../..

 

Where X represents differents clusters and Y represents different nodes of the cluster.

 

Regards

techean
Dynatrace Champion
Dynatrace Champion

Process Group Separation.

You can use the Environment Variables (set for the process) DT_CLUSTER_ID and DT_NODE_ID, 

 

KG

Featured Posts