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

Split Apache Tomcat process group on either service port or Java parameter

Andrew_Lofthous
Participant

We have multiple Tridion SDL web 8.5 JVM processes running on different ports, however as they share the same base class they are all being grouped as the same Apache Tomcat process group.


The java apps have different JVM sizes so we are trying to seperate them out so we can put custom JVM anolaly detection on them (currently when trying to set up the custom monitoring, we are only being presented with one process group).

5 REPLIES 5

Andrew_Lofthous
Participant

* JVM anomaly detection

JamesKitson
Dynatrace Guru
Dynatrace Guru

Have you looked at the options available in custom process group detection? That will let you see the metadata for the processes that can be used to split processes into process groups. I don't see the port as one of the options but maybe one of the other values in there would work for you. If there isn't one consider one of the options such as adding something to the command line args or using an environment variable. Process properties are the preferred/most flexible option if you can work with it though.

(Also feel free to post an Idea in the Ideas forum if you think something should be added, there's always room for improvement)

James

Andrew_Lofthous
Participant

Thanks for the response James...

Took us a while to get it working but we got there in the end...

We added a -Dname into the command line args of the app, then added a process group detection rule using the Java System Property 'name'. On a restart of the app it split out the Apache Tomcat services as we wanted.

Andy

Great. Yeah in many cases you can just work with what data is being captured but sometimes you have to add to get the behavior you want.

dirk_loosen
Participant

I have the same issue but cannot seem to get it to work the way you did it, although that seems the best way to do it according to the documentation. In our case it is a bunch of JBoss JAVA processes that all get lumped into 1 process group per host. Can you send me a screenshot of the detection group settings for your situation, I may be doing something wrong here....on the JAVA startup I also just added the -Dname...

I have also attached a doc describing this and what I tried...

Maybe you can pick up what I am missing....much appreciated

 

Featured Posts