# Alert when OneAgent is down

**URL:** <https://community.dynatrace.com/t/alert-when-oneagent-is-down/35514>\
**Category:** Open Q&A\
**Tags:** oneagent, problems-classic\
**Created:** [June 16, 2022, 2:48pm UTC](https://community.dynatrace.com/t/alert-when-oneagent-is-down/35514 "2022-06-16T14:48:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrc15816](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mrc15816](https://community.dynatrace.com/u/mrc15816)\
**Post date:** [June 16, 2022, 2:48pm UTC](https://community.dynatrace.com/t/alert-when-oneagent-is-down/35514/1 "2022-06-16T14:48:18Z")

</div>

We would like to know when a OneAgent and related components are down, eg. would Plug-ins module running on the OneAgent is down.

We have looked suggestions posted by valuable members i.e., turn on Process availability, setting custom alert based on network or CPU. We find these recommendations might not meet our needs.

We have cloud and on-prem and this is only needed for on-prem which rules out the Grace shutdown if was an option (we haven’t tested this yet, but would generate too many alerts)

Thanks

Raj

---

<div class="post-metadata">

**Author:** ![jason\_gs](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jason_gs/32/6393_2.png) [@jason\_gs](https://community.dynatrace.com/u/jason_gs)\
**Post date:** [June 16, 2022, 4:12pm UTC](https://community.dynatrace.com/t/alert-when-oneagent-is-down/35514/2 "2022-06-16T16:12:03Z")

</div>

Have you tried this anomaly detection setting?

 ![jgodboldsmith_0-1655395798773.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/0/e031fb50e91fd231b8f276a98ab66a17c94ad8dd.png)

Also, the OA Watchdog service (installed alongside the OA) will start the OA service if the OA process fails.  
Regards Jason

---

<div class="post-metadata">

**Author:** ![mrc15816](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mrc15816](https://community.dynatrace.com/u/mrc15816)\
**Post date:** [June 16, 2022, 4:35pm UTC](https://community.dynatrace.com/t/alert-when-oneagent-is-down/35514/3 "2022-06-16T16:35:22Z")

</div>

Thank you&nbsp;[@jason\_gs](https://community.dynatrace.com/user/42992), yes we have looked at this option but this global and we have cloud and on-prem solution where we need this only for on-prem components. The watcher works like it is designed but we want alerts when someone stopped the OneAgent services and stayed in that state.

---

<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:** [June 16, 2022, 6:41pm UTC](https://community.dynatrace.com/t/alert-when-oneagent-is-down/35514/4 "2022-06-16T18:41:06Z")

</div>

[@mrc15816](https://community.dynatrace.com/user/21197),

Please check this reply in this other post, as it is a similar question:

[https://community.dynatrace.com/t5/Alerting/Agent-Status-Alert/m-p/178871](https://community.dynatrace.com/post/178871)

---

<div class="post-metadata">

**Author:** ![mrc15816](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mrc15816](https://community.dynatrace.com/u/mrc15816)\
**Post date:** [June 16, 2022, 7:09pm UTC](https://community.dynatrace.com/t/alert-when-oneagent-is-down/35514/5 "2022-06-16T19:09:57Z")

</div>

[@AntonioSousa](https://community.dynatrace.com/user/17213)&nbsp;thank you for the response. I have looked at the article and we ran availability monitoring for another agent and the problem was when an update to the agent occurred Dynatrace started alerting on them as the old version went down and a new version came online and detected as the process is down. Custom alerting was too painful as we were looking at more than 2000000 metrics combination.

---

<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:** [June 16, 2022, 7:43pm UTC](https://community.dynatrace.com/t/alert-when-oneagent-is-down/35514/6 "2022-06-16T19:43:12Z")

</div>

[@mrc15816](https://community.dynatrace.com/user/21197),

I’m using this technique in several environments and never had problems with OneAgent updates…

Works like a charm, testing it with OneAgents stop/starts…

---

<div class="post-metadata">

**Author:** ![mrc15816](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mrc15816](https://community.dynatrace.com/u/mrc15816)\
**Post date:** [June 16, 2022, 9:11pm UTC](https://community.dynatrace.com/t/alert-when-oneagent-is-down/35514/7 "2022-06-16T21:11:17Z")

</div>

Amazing. Thank you for confirming that it works even after the version updates. I will look into this option but would hope Dynatrace comes up with easier solution versus this route.

---

<div class="post-metadata">

**Author:** ![mrc15816](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mrc15816](https://community.dynatrace.com/u/mrc15816)\
**Post date:** [June 16, 2022, 10:01pm UTC](https://community.dynatrace.com/t/alert-when-oneagent-is-down/35514/8 "2022-06-16T22:01:22Z")

</div>

[@AntonioSousa](https://community.dynatrace.com/user/17213)&nbsp;&nbsp;[@jason\_gs](https://community.dynatrace.com/user/42992)&nbsp;I have submitted a Product Idea and would like if you can provide any additional input or feedback.&nbsp;[https://community.dynatrace.com/t5/Dynatrace-product-ideas/Alert-when-OneAgent-is-down/idi-p/188634](https://community.dynatrace.com/post/188634)
