# Oneagent is uninstalled after rebooting host

**URL:** <https://community.dynatrace.com/t/oneagent-is-uninstalled-after-rebooting-host/18643>\
**Category:** Open Q&A\
**Tags:** installation, oneagent\
**Created:** [November 30, 2018, 9:25am UTC](https://community.dynatrace.com/t/oneagent-is-uninstalled-after-rebooting-host/18643 "2018-11-30T09:25:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![atim](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@atim](https://community.dynatrace.com/u/atim)\
**Post date:** [November 30, 2018, 9:25am UTC](https://community.dynatrace.com/t/oneagent-is-uninstalled-after-rebooting-host/18643/1 "2018-11-30T09:25:18Z")

</div>

Hi

I recently add our host to be monitored with dynatrace. After I deploy agent to my host, it said that I should restart the processes in order to be fully visibility monitored. Then I reboot the host, after that the host is not monitored. It is said that “Host is not monitored. OneAgent uninstalled 1 hour 51 minutes ago.”

How could this happen?

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [November 30, 2018, 9:38am UTC](https://community.dynatrace.com/t/oneagent-is-uninstalled-after-rebooting-host/18643/2 "2018-11-30T09:38:21Z")

</div>

Hi,

Did you install the agent on root privileges?

Best,

Radek

---

<div class="post-metadata">

**Author:** ![atim](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@atim](https://community.dynatrace.com/u/atim)\
**Post date:** [November 30, 2018, 10:27am UTC](https://community.dynatrace.com/t/oneagent-is-uninstalled-after-rebooting-host/18643/3 "2018-11-30T10:27:51Z")

</div>

Yes indeed, i installed agent with root user

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [November 30, 2018, 10:53am UTC](https://community.dynatrace.com/t/oneagent-is-uninstalled-after-rebooting-host/18643/4 "2018-11-30T10:53:53Z")

</div>

What is the operating system? Windows, Linux, …?

Do you have the right communication ports open?

Is there no mechanism for undoing changes on the system after restarting the application?

Could you share agent log?

R.

---

<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:** [November 30, 2018, 11:48am UTC](https://community.dynatrace.com/t/oneagent-is-uninstalled-after-rebooting-host/18643/5 "2018-11-30T11:48:01Z")

</div>

If oneagent files and systemd unity (or SysV init script) are not there after reboot then your host does some reverting mechanisms such as reverting filesystem changes on reboot to a snapshot.

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [November 30, 2018, 4:37pm UTC](https://community.dynatrace.com/t/oneagent-is-uninstalled-after-rebooting-host/18643/6 "2018-11-30T16:37:42Z")

</div>

At 99% there is a mechanism for undoing changes on the machine, as I wrote earlier.
