we have create a custom process monitoring rule to exclude set of EXE from monitoring. However those process are still being monitored after changing the setting from Dynatrace and restarting the agent also. Let us know how to get this issue fixed?
Solved! Go to Solution.
we had couple of process on hand full of servers where we are trying to exclude them from monitoring. We have created an exclude rule at global level and host group level non of them took effect.
1) Global settings --> Custom process monitoring --> Do not monitor by EXE Name
2) Host goup --> settings --> Custom process monitoring --> Do not monitor by EXE Name
However only the host settings is taking effect.
Deep Monitoring (injection) is only performed when the process starts - so after creating a rule, you have to restart the process that is currently monitored. That will trigger a re-injection, the rule should get applied and the process is no longer injected. Restarting the OneAgent has no effect here.
Not all information can be used to exclude processes from monitoring, e.g. if you try to use Java Main Class but starting it with a .jar the main class info won't be available by the time we have to decide whether to inject or not, so the rule will not work.
EXE name should be available at startup time, so that should work. You could try command line arguments if you really want to make sure that there is nothing wrong with your rule.