# Custom Windows service monitoring

**URL:** <https://community.dynatrace.com/t/custom-windows-service-monitoring/39118>\
**Category:** Open Q&A\
**Tags:** windows\
**Created:** [March 31, 2023, 3:58pm UTC](https://community.dynatrace.com/t/custom-windows-service-monitoring/39118 "2023-03-31T15:58:49Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![saldrich](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@saldrich](https://community.dynatrace.com/u/saldrich)\
**Post date:** [March 31, 2023, 3:58pm UTC](https://community.dynatrace.com/t/custom-windows-service-monitoring/39118/1 "2023-03-31T15:58:49Z")

</div>

Outside of the typically Processes you see listed for a Windows Server there are a couple additional services I want to for this particular servers. For example the below to Windows Services don’t show up under “All Processes”

CyberArk Application Password Provider  
World Wide Web Publishing Service

How do I setup the monitoring for these custom services (as I tried following different steps I found online) and will they show up under “All Processes” once it’s configured? Are there any restarts or anything to detect once it’s configured?

Appreciate any feedback as I have been trying to figure this out for a bit now. Thanks.

Shaun

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [April 1, 2023, 8:26am UTC](https://community.dynatrace.com/t/custom-windows-service-monitoring/39118/2 "2023-04-01T08:26:48Z")

</div>

Hi,

You need to create&nbsp;[Process group detection rules](https://www.dynatrace.com/support/help/shortlink/process-groups).

Best regards

---

<div class="post-metadata">

**Author:** ![saldrich](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@saldrich](https://community.dynatrace.com/u/saldrich)\
**Post date:** [April 2, 2023, 11:17pm UTC](https://community.dynatrace.com/t/custom-windows-service-monitoring/39118/3 "2023-04-02T23:17:03Z")

</div>

Thanks so much for the reply. So in order to detect a Windows service I need to create process group detection rules? Sorry which section below do I need to create this. I thought it was a matter of configuring “Classic Windows services monitoring” but it sounds like your saying I need to create some kind of process rule for this. Look forward to your assistance. Thanks.

 ![saldrich_0-1680477293211.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/c/fcb8913ba9fefeab21697da7947ac2cdbba77806.png)

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [April 3, 2023, 7:23am UTC](https://community.dynatrace.com/t/custom-windows-service-monitoring/39118/4 "2023-04-03T07:23:48Z")

</div>

Hi,

If your processes does not appear in your process list inside host, you need to create a rule in Settings \> Processes and containers \>&nbsp;Custom process monitoring rules

Best regards

---

<div class="post-metadata">

**Author:** ![saldrich](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@saldrich](https://community.dynatrace.com/u/saldrich)\
**Post date:** [April 3, 2023, 11:54am UTC](https://community.dynatrace.com/t/custom-windows-service-monitoring/39118/5 "2023-04-03T11:54:37Z")

</div>

Thanks again for the reply. Under Hosts-\>Hostname-\>Settings I see the following options. I didn’t see a Processes and containers area.

 ![saldrich_0-1680522796929.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/a/8a09f2b70b89ce5d3abdb2d8943cccb67e9de4d5.png)

---

<div class="post-metadata">

**Author:** ![Mohamed\_Hamdy](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@Mohamed\_Hamdy](https://community.dynatrace.com/u/Mohamed_Hamdy)\
**Post date:** [April 3, 2023, 2:34pm UTC](https://community.dynatrace.com/t/custom-windows-service-monitoring/39118/6 "2023-04-03T14:34:14Z")

</div>

Hi saldrich,

you can proceed with the OS services monitoring option if you are looking for availability only, you can find the steps here: [OS services monitoring — Dynatrace Docs](https://www.dynatrace.com/support/help/shortlink/os-services)

if you are looking for deep monitoring or process utilization you can proceed with Process group detection rules as AntonPineiro mentioned, however, the deep monitoring of these services might not be possible as most probably they will be detected as unknown technology

---

<div class="post-metadata">

**Author:** ![saldrich](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@saldrich](https://community.dynatrace.com/u/saldrich)\
**Post date:** [April 3, 2023, 3:04pm UTC](https://community.dynatrace.com/t/custom-windows-service-monitoring/39118/7 "2023-04-03T15:04:51Z")

</div>

Hi Mohamed,

Thanks for the reply. I configured “Classic Windows service monitoring” already as shown in the screenshot but I don’t see the CyberArk service show up in the All processes section or in the Services section so now I am confused how to get Windows services monitored within Dynatrace. Appreciate any guidance anyone has. Thanks.

 ![saldrich_0-1680534037226.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/27eafbde9aeffecbf563b71a193168c617eb06f7.png)

 ![saldrich_1-1680534139859.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/6/e6b377a306457d94e5fff25d4b7e9328fdf24039.png)

---

<div class="post-metadata">

**Author:** ![Mohamed\_Hamdy](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@Mohamed\_Hamdy](https://community.dynatrace.com/u/Mohamed_Hamdy)\
**Post date:** [April 3, 2023, 3:12pm UTC](https://community.dynatrace.com/t/custom-windows-service-monitoring/39118/8 "2023-04-03T15:12:06Z")

</div>

Hi saldrich,

Creating the OS service Availability will not reflect the service as a process, it’s just monitoring the availability, so you will not find it&nbsp;All processes section.

if the rule is defined properly, then once it’s not in a running state a problem will be generated.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [April 3, 2023, 4:00pm UTC](https://community.dynatrace.com/t/custom-windows-service-monitoring/39118/9 "2023-04-03T16:00:07Z")

</div>

Hi,

This is not in host setting. You need to go to general settings in left menu:

 ![AntonPineiro_0-1680537519273.png](https://global.discourse-cdn.com/dynatrace/original/2X/f/fdcbb751d2396f80002bfb5a8cfda82c81a46ff0.png)

And later,&nbsp;Processes and containers \>&nbsp;Custom process monitoring rules.

Best regards

---

<div class="post-metadata">

**Author:** ![saldrich](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@saldrich](https://community.dynatrace.com/u/saldrich)\
**Post date:** [April 3, 2023, 4:05pm UTC](https://community.dynatrace.com/t/custom-windows-service-monitoring/39118/10 "2023-04-03T16:05:54Z")

</div>

Thanks Mohamed / Anton for the replies. Is there anyway to also setup Windows Service Monitoring where you see it listed in the All Processes or the Services section and not just monitoring the availability? If not, Availability will do but it would be nice if it will show up somewhere as there are specific Windows Services for some of our servers we want to monitor and it would be great to see them listed.

---

<div class="post-metadata">

**Author:** ![saldrich](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@saldrich](https://community.dynatrace.com/u/saldrich)\
**Post date:** [April 3, 2023, 10:35pm UTC](https://community.dynatrace.com/t/custom-windows-service-monitoring/39118/11 "2023-04-03T22:35:25Z")

</div>

Hi Mohamed,

The service on the server is in a disabled state but I don’t see any new problems coming in showing availability issues and that it is not running.

![saldrich_0-1680561256425.png](https://global.discourse-cdn.com/dynatrace/original/1X/7f808baaa2cb179eff3a695c233157ab19b713a9.png)

---

<div class="post-metadata">

**Author:** ![Mohamed\_Hamdy](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@Mohamed\_Hamdy](https://community.dynatrace.com/u/Mohamed_Hamdy)\
**Post date:** [April 4, 2023, 10:20am UTC](https://community.dynatrace.com/t/custom-windows-service-monitoring/39118/12 "2023-04-04T10:20:15Z")

</div>

Hi [@saldrich](https://community.dynatrace.com/user/61436),

for classic Windows service monitoring, please make sure that you’ve added the service name not the display name

 ![Mohamed_Hamdy_0-1680603468109.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/b/cb9071332c0e7a85f4e3a0436d71f509219815c5.jpeg)

then you need to create&nbsp;Metric events for alerting on service availability

> **[Classic Windows services monitoring](https://docs.dynatrace.com/docs/observe/infrastructure-observability/hosts/monitoring/windows-services)**
>
> Learn how to improve the visibility of your infrastructure by monitoring the availability of Windows services.

also, try to use the&nbsp;OS services monitoring

> **[OS services monitoring](https://docs.dynatrace.com/docs/observe/infrastructure-observability/infrastructure-and-operations/hosts/os-services)**
>
> Monitor Windows and Linux OS service status and availability, and configure alerting policies to detect service failures across your hosts.
