# changing flag values

**URL:** <https://community.dynatrace.com/t/changing-flag-values/19206>\
**Category:** Open Q&A\
**Tags:** oneagent\
**Created:** [April 30, 2020, 6:54pm UTC](https://community.dynatrace.com/t/changing-flag-values/19206 "2020-04-30T18:54:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![3ndalaust](https://avatars.discourse-cdn.com/v4/letter/3/a5b964/32.png) [@3ndalaust](https://community.dynatrace.com/u/3ndalaust)\
**Post date:** [April 30, 2020, 6:54pm UTC](https://community.dynatrace.com/t/changing-flag-values/19206/1 "2020-04-30T18:54:15Z")

</div>

Hi, everyone.

Last week I installed Oneagent in my server but I put this flag on true

‘set-infra-only=true’ because of the requirments of the bank, but

now they want to monitor all of the enviorment. so I need to put this flag

on ‘false’ to monitor everything. How can I change the flag? I checked

the config files but it says that you can’t change them through the config files.

Is there any way to change that flag through the Dynatrace UI?

Thank you so much for your time, regards!!

---

<div class="post-metadata">

**Author:** ![JamesKitson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jameskitson/32/22460_2.png) [@JamesKitson](https://community.dynatrace.com/u/JamesKitson)\
**Post date:** [April 30, 2020, 7:12pm UTC](https://community.dynatrace.com/t/changing-flag-values/19206/2 "2020-04-30T19:12:40Z")

</div>

As long as its connected you can change that in the settings per host. Monitoring mode \> flip the toggle for full stack mode.

 ![24903-1588273902545.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/4/84687d4d4ee15a98258201e96ce85f1c288ec429.png)  
Can also be done using oneagentctl tool: [OneAgent configuration via command-line interface — Dynatrace Docs](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-oneagent/oneagent-configuration-via-command-line-interface/#infrastructure-monitoring)

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [April 30, 2020, 7:52pm UTC](https://community.dynatrace.com/t/changing-flag-values/19206/3 "2020-04-30T19:52:35Z")

</div>

Exactly, If you set the monitoring to 1/2 stack:

 ![24885-1588276216217.png](https://global.discourse-cdn.com/dynatrace/original/2X/9/9b0008a47f1da1ccaf5fea3fe7ebed6b901c428f.png)

Navigate to the host and toggle full stack on. If you already have full stack on and want to do the reverse - go to 1/2 stack, then select “Edit” on the host then Monitoring Mode - and toggle off the fullstack mode:

 ![24896-1588276347322.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/4/240ffffd47a96502cbdd0d7dfbf97ed08aed79d7.png)

---

<div class="post-metadata">

**Author:** ![3ndalaust](https://avatars.discourse-cdn.com/v4/letter/3/a5b964/32.png) [@3ndalaust](https://community.dynatrace.com/u/3ndalaust)\
**Post date:** [April 30, 2020, 8:55pm UTC](https://community.dynatrace.com/t/changing-flag-values/19206/4 "2020-04-30T20:55:07Z")

</div>

Thank you a lot!!! It was ver useful

---

<div class="post-metadata">

**Author:** ![3ndalaust](https://avatars.discourse-cdn.com/v4/letter/3/a5b964/32.png) [@3ndalaust](https://community.dynatrace.com/u/3ndalaust)\
**Post date:** [April 30, 2020, 8:55pm UTC](https://community.dynatrace.com/t/changing-flag-values/19206/5 "2020-04-30T20:55:31Z")

</div>

Both answers were very helpful, thank you!!
