# How to enable only infrastructure monitoring and disable Application /any other monitoring

**URL:** <https://community.dynatrace.com/t/how-to-enable-only-infrastructure-monitoring-and-disable-application-any-other-monitoring/8814>\
**Category:** Open Q&A\
**Tags:** hosts-classic, settings\
**Created:** [October 27, 2017, 8:22am UTC](https://community.dynatrace.com/t/how-to-enable-only-infrastructure-monitoring-and-disable-application-any-other-monitoring/8814 "2017-10-27T08:22:34Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![farid\_sharipov](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@farid\_sharipov](https://community.dynatrace.com/u/farid_sharipov)\
**Post date:** [October 27, 2017, 8:22am UTC](https://community.dynatrace.com/t/how-to-enable-only-infrastructure-monitoring-and-disable-application-any-other-monitoring/8814/1 "2017-10-27T08:22:34Z")

</div>

Hi

for some of our systems, we want to se only Infrastructure level monitoring. But I cannot seem find a place where I could do this easily. What is the process to get it done?

At the moment we have dynatrace SAAS agent is running in all of our servers.

thanks

br  
Farid

---

<div class="post-metadata">

**Author:** ![wolfgang\_beer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/wolfgang_beer/32/14717_2.png) [@wolfgang\_beer](https://community.dynatrace.com/u/wolfgang_beer)\
**Post date:** [October 27, 2017, 10:20am UTC](https://community.dynatrace.com/t/how-to-enable-only-infrastructure-monitoring-and-disable-application-any-other-monitoring/8814/2 "2017-10-27T10:20:02Z")

</div>

You can disable service and application level anomaly detection within global settings ‘Anomaly detection’.

---

<div class="post-metadata">

**Author:** ![suresh230591](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/suresh230591/32/280_2.png) [@suresh230591](https://community.dynatrace.com/u/suresh230591)\
**Post date:** [October 27, 2017, 10:44am UTC](https://community.dynatrace.com/t/how-to-enable-only-infrastructure-monitoring-and-disable-application-any-other-monitoring/8814/3 "2017-10-27T10:44:28Z")

</div>

You can do this while installing the agent. Need to pass the parameter INFRA\_ONLY=1 in shell script  
e.g. /bin/sh Dynatrace-OneAgent-Linux-version.sh INFRA\_ONLY=1

---

<div class="post-metadata">

**Author:** ![farid\_sharipov](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@farid\_sharipov](https://community.dynatrace.com/u/farid_sharipov)\
**Post date:** [October 27, 2017, 11:25am UTC](https://community.dynatrace.com/t/how-to-enable-only-infrastructure-monitoring-and-disable-application-any-other-monitoring/8814/4 "2017-10-27T11:25:23Z")

</div>

Okay , can we do the same thing after agent is installed? maybe changing agent configuration from somewhere? [@Suresh K.](https://answers.dynatrace.com/users/15050/view.html)

---

<div class="post-metadata">

**Author:** ![farid\_sharipov](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@farid\_sharipov](https://community.dynatrace.com/u/farid_sharipov)\
**Post date:** [October 27, 2017, 11:26am UTC](https://community.dynatrace.com/t/how-to-enable-only-infrastructure-monitoring-and-disable-application-any-other-monitoring/8814/5 "2017-10-27T11:26:21Z")

</div>

This probably would disable for ALL . but we wanted only for some agents. [@Wolfgang B.](https://answers.dynatrace.com/users/12838/view.html)

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 27, 2017, 12:01pm UTC](https://community.dynatrace.com/t/how-to-enable-only-infrastructure-monitoring-and-disable-application-any-other-monitoring/8814/6 "2017-10-27T12:01:17Z")

</div>

I’ve seen such option in the config file /var/lib/dynatrace/oneagent/agent/config/infraonly.conf . But I don’t know if changing this property has any effect or if it’s supported.

---

<div class="post-metadata">

**Author:** ![Tomasz\_Gajger](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/tomasz_gajger/32/11712_2.png) [@Tomasz\_Gajger](https://community.dynatrace.com/u/Tomasz_Gajger)\
**Post date:** [October 31, 2017, 10:57am UTC](https://community.dynatrace.com/t/how-to-enable-only-infrastructure-monitoring-and-disable-application-any-other-monitoring/8814/7 "2017-10-31T10:57:17Z")

</div>

[@Julius L.](https://answers.dynatrace.com/users/16467/view.html)

This file is autogenerated and manual changes are not supported. The supported way is to reinstall the agent with INFRA\_ONLY command line parameter set to the desired value.

Regards,  
Tomek

---

<div class="post-metadata">

**Author:** ![Tomasz\_Gajger](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/tomasz_gajger/32/11712_2.png) [@Tomasz\_Gajger](https://community.dynatrace.com/u/Tomasz_Gajger)\
**Post date:** [November 27, 2017, 6:03am UTC](https://community.dynatrace.com/t/how-to-enable-only-infrastructure-monitoring-and-disable-application-any-other-monitoring/8814/8 "2017-11-27T06:03:37Z")

</div>

Since agent version 129 the monitoring mode may be switched between “Full-stack” and “Cloud-infrastructure” from host settings screen on the WebUI.  
Please note however that this feature has to first be enabled for your tenant.  
The old way of changing the monitoring mode by reinstalling the agent with INFRA\_ONLY parameter is still supported.

 ![14870-cloud-infra.png](https://global.discourse-cdn.com/dynatrace/original/3X/6/1/61c0cf9e4fc6727ed12db0c7ed2b64b574c9ffb6.png)

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [November 27, 2017, 6:53am UTC](https://community.dynatrace.com/t/how-to-enable-only-infrastructure-monitoring-and-disable-application-any-other-monitoring/8814/9 "2017-11-27T06:53:14Z")

</div>

Hi [@Tomasz G.](https://answers.dynatrace.com/users/14867/view.html)

I assume that the feature has to be enabled for the “infrastructure only” checkbox to appear in the installer, right?

---

<div class="post-metadata">

**Author:** ![Tomasz\_Gajger](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/tomasz_gajger/32/11712_2.png) [@Tomasz\_Gajger](https://community.dynatrace.com/u/Tomasz_Gajger)\
**Post date:** [November 27, 2017, 6:59am UTC](https://community.dynatrace.com/t/how-to-enable-only-infrastructure-monitoring-and-disable-application-any-other-monitoring/8814/10 "2017-11-27T06:59:25Z")

</div>

Yes, that is correct.

---

<div class="post-metadata">

**Author:** ![alessandro\_amor](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@alessandro\_amor](https://community.dynatrace.com/u/alessandro_amor)\
**Post date:** [December 1, 2017, 10:47am UTC](https://community.dynatrace.com/t/how-to-enable-only-infrastructure-monitoring-and-disable-application-any-other-monitoring/8814/11 "2017-12-01T10:47:24Z")

</div>

Hi,

is it available also for Dynatrace Managed by default or it must be enabled on MC?

Thanks

Alessandro

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [December 6, 2017, 5:32pm UTC](https://community.dynatrace.com/t/how-to-enable-only-infrastructure-monitoring-and-disable-application-any-other-monitoring/8814/12 "2017-12-06T17:32:07Z")

</div>

In Managed, that should be available once you set non-zero Infrastructure-only limit for your environment.

---

<div class="post-metadata">

**Author:** ![nakb](https://avatars.discourse-cdn.com/v4/letter/n/8edcca/32.png) [@nakb](https://community.dynatrace.com/u/nakb)\
**Post date:** [April 28, 2021, 10:17am UTC](https://community.dynatrace.com/t/how-to-enable-only-infrastructure-monitoring-and-disable-application-any-other-monitoring/8814/13 "2021-04-28T10:17:10Z")

</div>

Hi&nbsp;[@Tomasz\_Gajger](https://community.dynatrace.com/user/28912)&nbsp; is there any API available for the same to enable or disable Full Stack monitoring mode.
