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

Monitoring Windows Service by Display name

nalin_agrawal
Dynatrace Organizer
Dynatrace Organizer
windows-service.jpg

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

4 REPLIES 4

apasoquen1
Guide

So how do you configure this?

michael_kopp
Dynatrace Pro
Dynatrace Pro

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.

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.


hgouramoni
Guide

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.