# Best Practices to Monitor .EXE Processes

**URL:** <https://community.dynatrace.com/t/best-practices-to-monitor-exe-processes/33737>\
**Category:** Open Q&A\
**Tags:** oneagent\
**Created:** [January 12, 2022, 11:47am UTC](https://community.dynatrace.com/t/best-practices-to-monitor-exe-processes/33737 "2022-01-12T11:47:20Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [January 12, 2022, 11:47am UTC](https://community.dynatrace.com/t/best-practices-to-monitor-exe-processes/33737/1 "2022-01-12T11:47:20Z")

</div>

Dear All,

What type of .EXE processes should be monitored?

What type of .EXE processes should not be monitored?

e.g. do we need to monitor the below ones?

- ServerManager.exe
- Archiver.exe
- aspnet\_state.exe

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [January 12, 2022, 7:59pm UTC](https://community.dynatrace.com/t/best-practices-to-monitor-exe-processes/33737/2 "2022-01-12T19:59:27Z")

</div>

[@Babar\_Qayyum](https://community.dynatrace.com/user/22017)

Most of .EXE processes are not monitorable at all, but there are some that are full-stack instrumentable, if they are built with .NET, as should be the case for all 3 you mention. Some details on those 3:

- ServerManager.exe is that dashboard that launches in most Windows server. In my opinion, I recommend not even running it in production, as most sysadmins don’t even use it, and it does consume some resources, especially memory.
- Archiver.exe is some process that am not sure what it is. Probably better to check inside one of those servers what it really is
- aspnet\_state.exe seems to be a component of the .Net framework, but I don’t recall seeing it myself in any Dynatrace environment. Probably better to check it out locally too.

In my case, I have manually instrumented some .NET .exe executables, and with great success in some of them. You will probably have to create custom services to get a view of what is going on, especially Purepaths involving network/database requests. It is sometimes a very tricky subject, as you might need to have a code understanding of what is going on, but in some cases I have used it in conjuction with “Method Hotsposts” to be able to get to Purepaths without knowing about the code.

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [January 13, 2022, 7:40am UTC](https://community.dynatrace.com/t/best-practices-to-monitor-exe-processes/33737/3 "2022-01-13T07:40:42Z")

</div>

Hello&nbsp;[@AntonioSousa](https://community.dynatrace.com/user/17213)

Thank you for your comments.

Do we have a way to instruct the Dynatrace not to detect certain EXE processes on the installation of Full-Stack mode?

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [January 13, 2022, 10:57am UTC](https://community.dynatrace.com/t/best-practices-to-monitor-exe-processes/33737/4 "2022-01-13T10:57:48Z")

</div>

You should be able to do that with process monitoring rules:

> **[Process deep monitoring](https://docs.dynatrace.com/docs/observe/infrastructure-observability/process-groups/configuration/pg-monitoring)**
>
> Ways to customize process-group monitoring

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [January 13, 2022, 11:32am UTC](https://community.dynatrace.com/t/best-practices-to-monitor-exe-processes/33737/5 "2022-01-13T11:32:48Z")

</div>

Hello&nbsp;[@AntonioSousa](https://community.dynatrace.com/user/17213)

These settings are after the fact. I meant we can only force to monitor/not monitor or deep monitoring etc.

Is there a way to configure that the OneAgent should not detect the process?

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [January 13, 2022, 11:41am UTC](https://community.dynatrace.com/t/best-practices-to-monitor-exe-processes/33737/6 "2022-01-13T11:41:28Z")

</div>

I understand that if you don’t monitor certain processes, new OneAgent installations will not show the process.

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [January 13, 2022, 12:01pm UTC](https://community.dynatrace.com/t/best-practices-to-monitor-exe-processes/33737/7 "2022-01-13T12:01:30Z")

</div>

Hello&nbsp;[@AntonioSousa](https://community.dynatrace.com/user/17213)

Please correct my understanding. If I configure the following so any new OneAgent installation on the windows host will not show/detect the process?

![Babar_Qayyum_0-1642075180420.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/8/58e0d47cc5a51c00c0cfb4d9ba95472d912d5c9a.png)

What about the existing detected processes? Will they vanish or only the monitoring will be disabled?

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [January 13, 2022, 1:02pm UTC](https://community.dynatrace.com/t/best-practices-to-monitor-exe-processes/33737/8 "2022-01-13T13:02:21Z")

</div>

[@Babar\_Qayyum](https://community.dynatrace.com/user/22017)

I’ll have to take back what I said. I tried it out myself, and didn’t work as expected. I’ll be back when I can check some things.

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [January 13, 2022, 1:19pm UTC](https://community.dynatrace.com/t/best-practices-to-monitor-exe-processes/33737/9 "2022-01-13T13:19:29Z")

</div>

Hello&nbsp;[@AntonioSousa](https://community.dynatrace.com/user/17213)

Thank you for your continued feedback and efforts with me to understand the whole concept. I am trying a few things as well and will keep updating you about it.

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![Kenny\_Gillette](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/kenny_gillette/32/20170_2.png) [@Kenny\_Gillette](https://community.dynatrace.com/u/Kenny_Gillette)\
**Post date:** [January 13, 2022, 1:53pm UTC](https://community.dynatrace.com/t/best-practices-to-monitor-exe-processes/33737/10 "2022-01-13T13:53:37Z")

</div>

Our practice at our company is only to deep monitor process (code level) if it is used a lot and we need to see down or upstream calls for process.

---

<div class="post-metadata">

**Author:** ![fstekelenburg](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fstekelenburg/32/22029_2.png) [@fstekelenburg](https://community.dynatrace.com/u/fstekelenburg)\
**Post date:** [January 14, 2022, 11:09am UTC](https://community.dynatrace.com/t/best-practices-to-monitor-exe-processes/33737/11 "2022-01-14T11:09:44Z")

</div>

you mean a “do not monitor” (if EXE=…) in&nbsp;Custom process monitoring rules did not work out as you expect, that this exe is no longer monitored? I would expect it to be, because it there for to _define process monitoring rules if you don’t want to monitor all your processes automatically, or if you need to define an exception for specific processes._

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [January 17, 2022, 6:42am UTC](https://community.dynatrace.com/t/best-practices-to-monitor-exe-processes/33737/12 "2022-01-17T06:42:14Z")

</div>

Hello&nbsp;[@fstekelenburg](https://community.dynatrace.com/user/21639)

The objective is not to detect the processes once configured in the cluster. The rules are working perfectly fine but the unwanted processes will remain there without any purpose.

e.g. Nginx is not supported in Windows but you will find them in the technology and processes.

In a similar way, we want that once the process is marked do not monitor so on the next restart of the host/OneAgent that process should not be detected by OneAgent.

The same should apply to the hosts.

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![Theodore\_x86](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/theodore_x86/32/17620_2.png) [@Theodore\_x86](https://community.dynatrace.com/u/Theodore_x86)\
**Post date:** [September 10, 2026, 10:52pm UTC](https://community.dynatrace.com/t/best-practices-to-monitor-exe-processes/33737/13 "2026-09-10T22:52:18Z")

</div>

Hello.

Please check:

> **[What's new in Dynatrace OneAgent 1.343](https://docs.dynatrace.com/docs/whats-new/oneagent/sprint-343)**
>
> New features, changes, and resolved issues in Dynatrace OneAgent 1.343

I think this covers it.
