# How to stop OneAgent billing effectively

**URL:** <https://community.dynatrace.com/t/how-to-stop-oneagent-billing-effectively/57022>\
**Category:** Open Q&A\
**Tags:** oneagent\
**Created:** [September 27, 2026, 8:58am UTC](https://community.dynatrace.com/t/how-to-stop-oneagent-billing-effectively/57022 "2026-09-27T08:58:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vijayt](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@Vijayt](https://community.dynatrace.com/u/Vijayt)\
**Post date:** [September 27, 2026, 8:58am UTC](https://community.dynatrace.com/t/how-to-stop-oneagent-billing-effectively/57022/1 "2026-09-27T08:58:13Z")

</div>

How can I make sure OneAgent is completely out of billing ?

By stop monitoring OneAgent or uninstall OneAgent

How can I double sure that this host will not get billed in next cycle. Can I take list of OneAgent with uninstalled status ?

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [September 27, 2026, 10:16pm UTC](https://community.dynatrace.com/t/how-to-stop-oneagent-billing-effectively/57022/2 "2026-09-27T22:16:06Z")

</div>

Hi&nbsp;[@Vijayt](https://community.dynatrace.com/user/75656)

Only a full uninstall guarantees the host exits billing. Disabling monitoring is a pause for data collection, not a billing stop.

Run below dql to see the status of OneAgent.

fetch dt.entity.host  
| fields entity.name, id, state, monitoringMode  
| filter state != “RUNNING”  
| sort entity.name asc

 ![sujit_k_singh_0-1790547095975.png](https://global.discourse-cdn.com/dynatrace/original/3X/3/b/3b5408f9508731ef6a3c2fc1ef528f31001e257f.png)

Thanks,

Sujit

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [September 27, 2026, 11:23pm UTC](https://community.dynatrace.com/t/how-to-stop-oneagent-billing-effectively/57022/3 "2026-09-27T23:23:35Z")

</div>

[@Vijayt](https://community.dynatrace.com/user/75656)&nbsp;If you want to keep OneAgent installed and retain the historical data but stop billing, you can disable monitoring at the host level as well. This would stop the billing for the host from that point of time as the license&nbsp;consumption is measured in host hours.

If you have a non production environment where you want to monitor the hosts only during business hours and disable the monitoring during non business hours to save on license costs , you should be able to achieve it by disabling the monitoring for the duration you do not want to monitoring the host and you would not be charged for usage .

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [September 28, 2026, 3:32am UTC](https://community.dynatrace.com/t/how-to-stop-oneagent-billing-effectively/57022/4 "2026-09-28T03:32:17Z")

</div>

Hi&nbsp;[@p\_devulapalli](https://community.dynatrace.com/user/21657)

Thanks for the clarification.

To correct my earlier statement: disabling monitoring at the host level can stop license consumption while retaining the OneAgent installation and historical data. A full uninstall is only required if you want to completely remove OneAgent from the host.

The DQL query above can still be used to identify hosts that are in MONITORING\_DISABLED, OFFLINE, or other non-running states.

Thanks,

Sujit

---

<div class="post-metadata">

**Author:** ![Vijayt](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@Vijayt](https://community.dynatrace.com/u/Vijayt)\
**Post date:** [September 29, 2026, 4:08am UTC](https://community.dynatrace.com/t/how-to-stop-oneagent-billing-effectively/57022/5 "2026-09-29T04:08:43Z")

</div>

forget to mention , we have only classic access and does not have access to grail

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [September 29, 2026, 4:56am UTC](https://community.dynatrace.com/t/how-to-stop-oneagent-billing-effectively/57022/6 "2026-09-29T04:56:25Z")

</div>

Hi&nbsp;[@Vijayt](https://community.dynatrace.com/user/75656)

Since you’re using Classic and don’t have Grail access, the DQL query won’t be available.

To verify that a host is no longer consuming OneAgent licenses:

- Go to Deployment Status \> OneAgents and confirm the host is no longer reporting.
- If monitoring is disabled, check that the host shows Monitoring disabled.
- If OneAgent has been uninstalled, the host will eventually become offline and stop reporting.
- For billing verification, review the Licensing page and compare host-hour consumption before and after disabling monitoring or uninstalling the agent.

There isn’t a built-in “uninstalled OneAgent” report in Classic, but inactive/offline hosts can be identified through the Deployment Status views.

Thanks,

Sujit

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [September 29, 2026, 5:04am UTC](https://community.dynatrace.com/t/how-to-stop-oneagent-billing-effectively/57022/7 "2026-09-29T05:04:49Z")

</div>

Hi&nbsp;[@Vijayt](https://community.dynatrace.com/user/75656)

Forgot to mention you can also use API  
The only reliable way to get a filtered list of hosts by OneAgent availability state in a Classic environment is via the API:  
You can test this directly in the Dynatrace Swagger UI.  
Navigate to OneAgent on a host section  
Use the GET /oneagents endpoint  
Set availabilityState = UNMONITORED

 ![sujit_k_singh_0-1790658249826.png](https://global.discourse-cdn.com/dynatrace/original/2X/f/f04fd320fa38dec87a78cfc18909278727075aa5.png)

Thanks,

Sujit

---

<div class="post-metadata">

**Author:** ![RazTN7](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/raztn7/32/10208_2.png) [@RazTN7](https://community.dynatrace.com/u/RazTN7)\
**Post date:** [November 6, 2026, 3:41am UTC](https://community.dynatrace.com/t/how-to-stop-oneagent-billing-effectively/57022/8 "2026-11-06T03:41:17Z")

</div>

Hi @Vijayt ,

**Simple answer** - Both stops DPS billing.

**Use case:**

- Uninstall when the host is being decommissioned.
- Disable monitoring if you might need the host again.

**Verify it in data explorer**

Use _**(DPS) Full-Stack Monitoring billing usage per host**_ metric split by host. The host’s line should drop to zero after the change.

 ![image](https://global.discourse-cdn.com/dynatrace/original/3X/2/e/2ec7f9b4988511f633cf5f4f8b44f4ba5f707d5c.png)

Also in advance mode use below to verify it.  
_**builtin:host.availability.state:filter(eq(“availability.state”,“unmonitored\_agent\_uninstalled”)):splitBy(“dt.entity.host”):count**_

Cheers!  
RN
