• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Dynatrace /
  • Dynatrace Open Q&A /
avatar image
Question by Babar Q. · 2 days ago · configuration administration process groups

Challenge to customize the names of process groups

Dear All,

I am facing a challenge while renaming processes groups. I tried both manual and naming rules methods but with no success.

In the below screenshot (the latest screenshot after applying the 2 naming rules, 1 for int web servers and 1 for ext web servers), you can see that hostnames are different. 2 hosts starting with the http (internal web servers) and 4 hosts starting with the rolh (external web servers).

If I change the process group name to ext/int web servers' it applies to all processes groups instead of the relevant host processes.


Regards,

Babar

1610618540590.png (9.9 KiB)
Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Reply

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Paco A. · 2 days ago

Hi,

Probably you need to approach using different host groups , this way Dynatrace will separate in different process groups and from here you can start to apply renaming rules.

Another thing you can try is "Process group detection rules" to separate process groups.

Regards,

Paco


Comment

People who like this

0 Show 8 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Babar Q. · 2 days ago 0
Share

Hello @Paco A.

Thank you for your comments.

Please elaborate a little more the point number one, which I totally could not understand.

These are Apache processes, and all are 100% similar. Detection rules are not going to make any difference, in my opinion.

Regards,

Babar

avatar image Július L. Babar Q. · 2 days ago 1
Share

@Babar Q.
Process groups may be hard to finetune if the detection fails in your case. You have two rules:

- detection rules - define processes that would make a process group
- naming rules - defined naming for detected process groups.

If in a process group you have processes (web servers in your case) from different "clusters", then you need to use detection rules to separate the process groups.

If you want to rename an existing process group, you can use the naming rules, or manually change the name in the process group setting for a particular one. All process group instances from this process groups will be renamed.

I guess in your case, you need process group detection rule. It depends on your environment, but most likely you can differentiate those either on a process property / command line arguments, etc. If you cannot differentiate those on any property, you can always add a new environments property (DT_CLUSTER_ID / DT_NODE_ID) to separate it.

avatar image Babar Q. Július L. · 2 days ago 0
Share

Hello @Július L.

Thank you for your comments.

As you can see that properties and command line args are the same for both Ext/Int web servers. There is nothing to use detection process rule to distinguish them (if my understanding is correct).



As I mentioned in my starting comments, manual, or automatic renaming applying to all process groups (external and internal).

Do you think that now I left only with the new environment property (DT_CLUSTER_ID / DT_NODE_ID) to separate it?

Regards,

Babar

1610628266090.png (30.3 KiB)
1610628305078.png (30.4 KiB)
avatar image Július L. Babar Q. · 2 days ago 1
Share

Apart from what you can see, there still might be an environment variable (not visible in the process properties) you can use in process group detection rule.

Or you can introduce DT_CLUSTER_ID and DT_NODE_ID and set the process group name directly. I can see you are using IHS (apache). In a typical deployment, you should put those variables in the envvars file in the IHS directory. (Your case might still be different).

avatar image Paco A. Babar Q. · yesterday 0
Share

Your problem now is that all process seems to be detected under same process group, so any process group naming applies to all the processes. So you need 1st to separate those processes in different process group and once you have it separated you can apply process group naming.

You have 2 different strategies.

  • Are those processes running in different servers? - Then using HostGroup+Process group naming would help.

Host groups affect how process groups are detected. When the same process is running in two different host groups, Dynatrace will create one process group for each host group.

  • Are those processes different in same way (different Apache path, exe path, whatever ...) ? If so, you can use "Process group detection rules" to have different process group. Of course you're right, if those are 100% identical this approach won't help.

Hope this help.

regards,

Paco

avatar image Babar Q. Paco A. · yesterday 0
Share

Hello @Paco Porro A.

I used the combination of host groups + process groups but no luck. Yes, they distributed between different host groups.

Everything is the same, including Exec name, Exac path, Command line args, etc.

Regards,

Babar

avatar image Paco A. Babar Q. · yesterday 0
Share
So, now you have those Http servers running in hosts with different Host Groups. Did you restarted Apache after splitting hosts in different hosts?
avatar image Babar Q. Paco A. · yesterday 0
Share

Hello @Paco Porro A.

Apologies in advance if I could not understand your point correctly. Do you mean restart after the logical naming of process groups?

Regards,

Babar

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

29 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Capture the database ActiveConnectionsCurrentCount for WebLogic datasources

Swap Dynatrace Managed Installation File System

VM and Real Physical Server Join as a Managed Cluster

How to ensure OneAgent starts before any applications?

Delete Custom Service name

Forum Tags

mobile monitoring dotnet iis chat kubernetes servicenow amazon web services feedback mysql mainframe application rules rest api cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo activegate auto-detection high five award uem webserver usql iib test automation license ios news migration management zones ibm mq web services notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai availability tipstricks automation extensions diagnostic tools session replay permissions search davis assistant auto-update faq documentation problem detection http monitors easytravel apdex network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration production user actions postgresql synthetic locations upgrade oneagent security Dynatrace Managed user management python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting performance monitoring NGINX action naming linux nam installation error reporting database mission control apache mobileapp RUM php azure purepath davis scripting aix nodejs android
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A