I am facing a challenge to create a naming rule for the “IBM WebSphere Application Server”. By default, the processes detecting “WebSphere AS CellXXXXX ClusterXXXXX (NodeXXXXX)”.
I want to name them as “WebSphere server only”. The WebSphere CellXXXXX ClusterXXXXX (NodeXXXXX) are common for all “WebSphere servers”.
So if I understand this correctly, currently all WebSphere Process Groups and Processes are named like: WebSphere AS CellXXXX ClusterXXXXXX (Node XXXX)
And this is too granular. You want them to have the simple name of: WebSphere Server
Is this correct?
In that case you will have to create a Process Group Naming rule as follows:
Hey @Babar Q. this can be done quite easily. Go int your settings and select Processes and Containers > Process Group Naming and create a new rule.
If you put in: Websphere on {Host:DetectedName} then on each one the associated host name will appear in the name of the process! let me know if you need a hand!
i face this with a rule on Process group detection rules, for the instances that contains certain text on the node group itself and make them a cluster they take the websphere server name as process name and apply for all the instances across the servers.
naming the process should look nice but was not the real solution for me (“for the services”) some time ago.
not, i mean, that the way that the service is created isnot like a cluster if i changed the naming of the proccess, they still will be created as unique service. for me the naming rule for the process didt work sometime ago.
if is done on that way and you have 4 instances of a was, you will get
service1
service1
service1
service1
4 services with the same name in instances named the same. as i say. sometime ago (8month) process naming didt work fine for me. because i want all services in cluster as the instances.
that way you can see exactly what the technology is, the host and the name. Keep in mind you can change this up and add other data in the name as needed.
I have done this several times before asking the question in the community. The challenge is when you apply this rule, it will change the process name with all the processes names e.g. the new name will be PRO01, PRO02, PRO03, PRO04 instead of the individual process name. I guess it is because of the common CellXXXX ClusterXXXXXX (Node XXXX).
I will quote here @Ruben G. case, which seems similar to my case.
@Babar Q. - I think what you need to do here is change the detection rules for these WebSphere Processes. Because of how entities work in Dynatrace, Process names are inherited from Process Group names. And because your Process Group is covering hosts PRO01, PRO02, PRO03, PRO04 - then when you say the name should be “WebSphere {hostname}” then all hosts within that process group are taken into the renaming.
With Process Group Detection rules you can actually tell Dynatrace how to create these process groups and have a more segmented grouping that limits the group to 1 per host. What you need to understand here though, you need to use a Process property that is unique across these servers.
The above process group detection rule will work on WebSphere processes, and every Process Group will be detected and named strictly by the WebSphere Server ID. So your Process Groups and Processes will become “WebSphere server01”, “WebSphere server02”, etc.
You will still have to create a process group naming rule as indicated by Chad if you want to pull in the hostname to have the naming like “WebSphere on PRO01”.
However, if “WebSphere server01” is actually configured on more than one host (let’s say we detect it on both hosts PRO01 and PRO02). Then the renaming will still have the effect of “WebSphere on PRO01, PRO02” because the process group has more than 1 member.
So when you create your process detection rule, you must make sure that whatever process property you are adding as the group identifier is unique across your hosts, otherwise you will always be in the same issue with the renaming.
Does this make sense?
@Ruben G. FYI I think you are having the same problem.
I dont believe so. Laos if you have the hosts in separate host grouping then it will put each process into its own grouping even if that app runs on the hosts across multiple host groups
we did our renames via the first method that we shared with you. we did however create a custom process group and process as it was not detected out of the box. This required that process restart. The first method does not require a restart - i can take 5 - 15 mins depending on the size of your monitored infrastructure
Yes. The first option does not require a restart as I tested several times. So, it means the process group detection rules need a restart. Did you get a chance/challenge to work on the process group detection rules?
We did it once a few months ago - Had to reach out to support for this as we had some hiccups. The documentation seemed a bit unclear as to how to add the new process and group. I would recommend opening a support chat or a support ticket.
The process group monitoring detection rules configured in the previous way only works on processes that can be deeply monitored. The processes that are not considered to be deeply monitored as they dont fall under that category.
The workaround for this would be to user the custom process group detection.
This is found under Settings>Process and Containers>Process Group Detection>Custom Process group detection Rules.
We had to do both, the one as described in your most recent image share and the one I just posted.