> 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/o/oracle-enterprise-manager.md).

# Oracle Enterprise Manager

Oracle Enterprise Manager (OEM) monitors Oracle environments. OctoXLabs reads its repository database and turns the monitored targets (hosts, listeners, homes and agents) into devices.

## Use cases

* List devices that come from Oracle Enterprise Manager.

```
Adapters = oracle-enterprise-manager
```

## Before you begin

### Network

| Source              | Destination              | Port                | Protocol         |
| ------------------- | ------------------------ | ------------------- | ---------------- |
| OctoXLabs connector | Oracle database listener | 1521 (configurable) | Oracle Net (TCP) |

### Required permissions

| Scope or role            | Permission            | Needed for                                        |
| ------------------------ | --------------------- | ------------------------------------------------- |
| Repository database user | Read, Select and List | `SYSMAN.MGMT$TARGET`, or the custom view or query |

## Create credentials in Oracle Enterprise Manager

{% stepper %}
{% step %}

### Create a database user

Create a user for OctoXLabs on the Oracle database.
{% endstep %}

{% step %}

### Grant read access

Grant it Read, Select and List privileges on the view or tables OctoXLabs queries.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter           | Required | Type    | Default | Description                                            |
| ------------------- | -------- | ------- | ------- | ------------------------------------------------------ |
| IP                  | Yes      | String  |         | IP address of the host.                                |
| Port                | No       | Integer | 1521    | Listener port.                                         |
| SID or Service Name | No       | String  | protect | SID or service name of the Oracle database.            |
| Username            | Yes      | String  |         | Database user.                                         |
| Password            | Yes      | String  |         | Password of the user.                                  |
| View Name           | No       | String  |         | View to query. If set, it replaces the built-in query. |
| Custom Query        | No       | String  |         | Custom SQL query. Used when View Name is empty.        |
| Use Service Name    | No       | Boolean | False   | Connect with a service name instead of a SID.          |

## Troubleshooting

| Error message | Cause | Fix |
| ------------- | ----- | --- |

## Change history

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