26 May 2022 09:29 AM - last edited on 27 May 2022 08:42 AM by MaciejNeumann
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
Solved! Go to Solution.
26 May 2022 11:22 AM
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).
26 May 2022 11:38 AM
Hello,
You can the ENV Variables:
DT_Cluster_ID
DT_Node_ID
The documentation is explicit to do it.
Have a good day.
26 May 2022 11:57 PM
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.
27 May 2022 08:01 AM
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
27 May 2022 08:01 AM
You can use the Environment Variables (set for the process) DT_CLUSTER_ID and DT_NODE_ID,