# OneAgent auto-healing post-service reboot

**URL:** <https://community.dynatrace.com/t/oneagent-auto-healing-post-service-reboot/36670>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed, oneagent\
**Created:** [September 27, 2022, 7:34am UTC](https://community.dynatrace.com/t/oneagent-auto-healing-post-service-reboot/36670 "2022-09-27T07:34:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pratiksha14](https://avatars.discourse-cdn.com/v4/letter/p/cc9497/32.png) [@pratiksha14](https://community.dynatrace.com/u/pratiksha14)\
**Post date:** [September 27, 2022, 7:34am UTC](https://community.dynatrace.com/t/oneagent-auto-healing-post-service-reboot/36670/1 "2022-09-27T07:34:05Z")

</div>

Hi Team,

We have stopped the services on the Dynatrace server and we have seen that it is automatically started post server reboot. Will Dynatrace service get auto start post reboot? Kindly answer the same.

Thank You

---

<div class="post-metadata">

**Author:** ![abhi](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/abhi/32/30657_2.png) [@abhi](https://community.dynatrace.com/u/abhi)\
**Post date:** [September 28, 2022, 2:00am UTC](https://community.dynatrace.com/t/oneagent-auto-healing-post-service-reboot/36670/2 "2022-09-28T02:00:32Z")

</div>

Hi&nbsp;[@pratiksha14](https://community.dynatrace.com/user/54128)&nbsp;,

Yes, that is right. OneAgent would auto-start when the server is rebooted.&nbsp;  
For a scenario where the server is restarted, Dynatrace would notify that the connection with the server would be lost and the monitoring is not available. Once the server is restarted, all the services within the server would kick start along with Dynatrace. This will allow the Dynatrace problem to auto close as the monitoring of the server (Host) is back online.

You can always check the status of the OneAgent services with the following command:

> **[Stop/restart OneAgent on Linux](https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/installation-and-operation/linux/operation/stop-restart-oneagent-on-linux)**
>
> Learn how to stop and restart OneAgent on Linux.

Auto start of the services is a proactive method to make sure that the monitoring is always available.

Kind regards,  
Abhi

---

<div class="post-metadata">

**Author:** ![pratiksha14](https://avatars.discourse-cdn.com/v4/letter/p/cc9497/32.png) [@pratiksha14](https://community.dynatrace.com/u/pratiksha14)\
**Post date:** [September 28, 2022, 5:39am UTC](https://community.dynatrace.com/t/oneagent-auto-healing-post-service-reboot/36670/3 "2022-09-28T05:39:50Z")

</div>

Is there any way to stop auto restart mode post server reboot?

---

<div class="post-metadata">

**Author:** ![abhi](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/abhi/32/30657_2.png) [@abhi](https://community.dynatrace.com/u/abhi)\
**Post date:** [September 28, 2022, 5:55am UTC](https://community.dynatrace.com/t/oneagent-auto-healing-post-service-reboot/36670/4 "2022-09-28T05:55:11Z")

</div>

Yes, you can do that and the document would help you perform the same actions:

Linux - [Start/Stop OneAgent](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-oneagent/installation-and-operation/linux/operation/stop-restart-oneagent-on-linux)

Windows - [Start/Stop OneAgent](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-oneagent/installation-and-operation/windows/operation/stop-restart-oneagent-on-windows)

Hope this helps.
