> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/m/manage-engine-asset-explorer.md).

# Manage Engine Asset Explorer

Manage Engine Asset Explorer tracks IT assets. OctoXLabs connects directly to its PostgreSQL database, runs a read query and adds the assets as devices.

## Use cases

* **Find assets in Asset Explorer that your EDR does not cover.**

```
Adapters = manage-engine-asset-explorer AND NOT Adapters = falcon-crowdstrike
```

* **Review assets that were not updated recently.**

```
Adapters = manage-engine-asset-explorer AND NOT LastSeen last now-90d/d
```

## Before you begin

### Network

| Source              | Destination                                   | Port           | Protocol   |
| ------------------- | --------------------------------------------- | -------------- | ---------- |
| OctoXLabs connector | Asset Explorer database server (IP parameter) | 5432 (default) | PostgreSQL |

### Required permissions

| Scope or role | Permission         | Needed for              |
| ------------- | ------------------ | ----------------------- |
| Database user | Read, Select, List | Running the asset query |

The baseline states that the user needs these privileges.

## Create credentials in Asset Explorer

{% stepper %}
{% step %}

### Choose a database user

Use a database user that is dedicated to OctoXLabs.
{% endstep %}

{% step %}

### Grant read access

Give the user the Read, Select and List privileges on the Asset Explorer database.
{% endstep %}

{% step %}

### Allow the connection

Make sure the PostgreSQL server accepts connections from the OctoXLabs connector on the database port.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter           | Required | Type            | Default | Description                                                                                                            |
| ------------------- | -------- | --------------- | ------- | ---------------------------------------------------------------------------------------------------------------------- |
| IP                  | Yes      | String          | None    | Address of the database server.                                                                                        |
| Port                | No       | Integer         | 5432    | Database port.                                                                                                         |
| Domain              | No       | String          | None    | Domain name. When set, the user name is sent as `domain\username`.                                                     |
| Database            | Yes      | String          | None    | Name of the database.                                                                                                  |
| Username            | Yes      | String          | None    | Database user.                                                                                                         |
| Password            | Yes      | String          | None    | Password of the user.                                                                                                  |
| Region Name         | Yes      | String          | None    | Region of the assets to fetch. It is placed inside the query as a text value.                                          |
| Custom Query        | No       | String          | None    | Your own query. It must return `Hostname` as primary field, `LastSeen` as last seen and `FirstSeenDate` as first seen. |
| Components to Fetch | Yes      | List of strings | None    | Component types to fetch, for example Monitor or Server. Workstations are always fetched. Several values are allowed.  |
| Query Timeout       | No       | Integer         | 60      | Seconds before a query is stopped.                                                                                     |

## Troubleshooting

| Error message                   | Cause                                                      | Fix                                                                 |
| ------------------------------- | ---------------------------------------------------------- | ------------------------------------------------------------------- |
| Curser Failed Execute : {error} | The query failed. This is logged and no rows are returned. | Check the custom query, region name and the privileges of the user. |

## Change history

{% hint style="info" %}
Available starting from version 5.1.0.
{% endhint %}
