02 May 2017 10:48 AM - last edited on 21 Dec 2023 12:19 PM by MaciejNeumann
Hi All
Currently in Dynatrace we can monitor windows services, however it only captures the name of the process and the Service name. But it does not capture the Display Name. In some of the environments we have seen large number of services where the process name is same but Display names are different.
If Dynatrace can capture the display name as well it will be easier to know which particular service is failing or having problems.
Regards
Nalin
Solved! Go to Solution.
18 May 2017 01:38 PM
So how do you configure this?
14 Mar 2018 05:08 PM
To get the name we would have to do some system calls and read the registry which is all rather expensive and it has to happen during process startup. In short we might not do this.
However we can help you here, you can define environment variables for a windows service in the registry
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TheNameOfTheService
Create a key called
“Environment” that is type REG_MULTISZ.
The value of the Environment
key the contains entries like the below
With this you can leverage these features
* Process grouping based on environment variables
* Tag your Windows services based on environment variable content
* Define extra meta data based on environment variables
* you can use the tags and extra meta data in process group naming rules or service naming rules
I hope this helps, together with regedit files you can easily automate this.
06 Sep 2018 12:48 PM
Can this configuration allow me to display the Print Spooler windows utility as a dedicated process group? The tag appears for the whole Service Windows and I can't see the Print spooler as a specific process group.
02 Dec 2019 10:41 AM
Can you tell me, how can you configure this Print Spooler service in dynatrace. I am unable to monitor this service. one of our client wants this. Can you please respond as soon as possible.