> For the complete documentation index, see [llms.txt](https://docs.enginsight.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enginsight.com/docs/manual/english/installation-and-configuration/uninstallation/enginsight-components/hacktor-watchdog-observer.md).

# Hacktor, Watchdog, Observer

There are two ways to uninstall the Enginsight components Hacktor, Watchdog, and Observer:

* [Uninstallation via the user interface](#uninstallation-via-the-user-interface)
* [Manual uninstallation](#manual-uninstallation)

***

## Uninstallation via the user interface

{% hint style="danger" %}
**Please note**: If you delete an Enginsight component via the user interface, it is initially only removed from the corresponding overview. For security reasons, the component is not actually uninstalled automatically until 24 hours later.

If you want to uninstall a component immediately, follow the instructions in the section [Manual uninstallation](#manual-uninstallation).
{% endhint %}

### Uninstalling Hacktor

1. Navigate to **Penetration Tests** → **Required Services** → **Hacktors** in the Enginsight platform.
2. Select the checkbox <i class="fa-square">:square:</i> next to the Hacktor you want to delete. Alternatively, select the checkbox in the table header to select all Hacktors at once.
3. The number of selected Hacktors will now be shown next to the search field. In addition, the <i class="fa-slider">:slider:</i> **Actions** menu will appear in the upper-right corner. Click it to expand the submenu.
4. Click <i class="fa-trash">:trash:</i> **Delete** and confirm the prompt with **Delete Irretrievably**.

### Uninstalling Watchdog

1. Navigate to **Discoveries** → **Required Services** → **Watchdogs** in the Enginsight platform.
2. Click the **Delete** icon <i class="fa-trash">:trash:</i> at the end of the list item for the Watchdog you want to remove.
3. Confirm the prompt by entering **DELETE** into the empty field and clicking **Delete Irretrievably**.

### Uninstalling Observer

Navigate to **Endpoints** → **Required Services** → **Observer** in the Enginsight platform.

#### Option 1

1. Click the **Delete** icon <i class="fa-trash">:trash:</i> at the end of the list item for the Observer you want to remove.
2. Confirm the prompt by clicking **Delete Irretrievably**.

#### Option 2

1. Select the checkbox <i class="fa-square">:square:</i> next to the Observer you want to delete. Alternatively, select the checkbox in the table header to select all Observers at once.
2. The number of selected Observers will now be shown next to the search field. In addition, the **Delete** button will appear in the upper-right corner.
3. Click **Delete** and confirm the prompt with **Remove**.

***

## Manual Uninstallation

Alternatively, you can uninstall an Enginsight component directly on the Component Server where it is installed.

Follow these steps to completely remove the respective component:

1. Log in to the Component Server on which the component you want to uninstall is installed.
2. Navigate to the directory containing the installation files using the following command:

```
sudo cd /opt/enginsight/<Component>/tools
```

{% hint style="info" %}
Remember to replace `<Component>` with the corresponding component name (`hacktor`, `watchdog`, or `observer`).
{% endhint %}

3. Run the uninstall script using the following command:

```
sudo ./uninstall.sh
```

4. Follow the on-screen instructions until the process has completed.
5. Navigate to the corresponding component in the Enginsight platform:
   1. **Hacktor:** Navigate to **Penetration Tests** → **Required Services** → **Hacktors** and remove the corresponding Hacktor from the list as described in the section [Unistalling Hacktor](#hacktor-deinstallieren).
   2. **Watchdog:** Navigate to **Discoveries** → **Required Services** → **Watchdogs** and remove the corresponding Watchdog from the list as described in the section [Uninstalling Watchdog](#watchdog-deinstallieren).
   3. **Observer:** Navigate to **Endpoints** → **Required Services** → **Observer** and remove the corresponding Observer from the list as described in the section [Uninstalling Observer](#observer-deinstallieren).

***
