> 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/opentext-ucmdb-formerly-microfocus-ucmdb.md).

# OpenText UCMDB (formerly Microfocus UCMDB)

UCMDB is the configuration management database of Micro Focus, now OpenText. OctoXLabs runs a topology query against UCMDB and adds the configuration items and their related items (CPU, interfaces, IP addresses, installed software) to the device inventory.

## Use cases

* List the configuration items that UCMDB reports as devices.

```
Adapters = microfocus-ucmdb
```

* Find UCMDB items that no EDR agent covers.

```
Adapters = microfocus-ucmdb AND NOT Groups = edr
```

## Before you begin

### Network

| Source              | Destination  | Port                        | Protocol                     |
| ------------------- | ------------ | --------------------------- | ---------------------------- |
| OctoXLabs connector | UCMDB server | 443 (default, configurable) | HTTPS (HTTP when SSL is off) |

### Required permissions

| Scope or role                | Permission | Needed for             |
| ---------------------------- | ---------- | ---------------------- |
| UCMDB user with admin rights | Read       | Topology query results |

The frontend instructions state that the user needs admin rights to read details.

## Create credentials in OpenText UCMDB (formerly Microfocus UCMDB)

{% stepper %}
{% step %}

### Create the topology query

In the UCMDB UI, create a topology query that returns the configuration items you want in OctoXLabs. Note its name. The default name is `T`.
{% endstep %}

{% step %}

### Create or pick a user

Use a UCMDB account with admin rights.
{% endstep %}

{% step %}

### Check the domain

If the user is bound to a domain or LDAP service, note the domain name, for example `octoxlabs.com`.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter                                       | Required | Type    | Default | Description                                                                                   |
| ----------------------------------------------- | -------- | ------- | ------- | --------------------------------------------------------------------------------------------- |
| IP (`ip`)                                       | Yes      | String  |         | IP address or hostname of the UCMDB host.                                                     |
| Username (`username`)                           | Yes      | String  |         | Account used to connect.                                                                      |
| Password (`password`)                           | Yes      | String  |         | Password of the account.                                                                      |
| Port (`port`)                                   | No       | Integer | 443     | UCMDB port.                                                                                   |
| Query (`query`)                                 | No       | String  | T       | Name of the topology query to run. Create it in the UCMDB UI.                                 |
| SSL (`is_secure`)                               | No       | Boolean | True    | Use SSL for the connection.                                                                   |
| Containerized Version (`containerized_version`) | No       | Boolean | False   | Prefix paths with `/ucmdb-server` for the containerized deployment.                           |
| Domain (`domain`)                               | No       | String  |         | Sent as `repository` in the login request. Needed when the user is bound to a domain or LDAP. |
| Timeout (`timeout`)                             | No       | Integer | 30      | Seconds to wait for API responses.                                                            |

## Troubleshooting

| Error message | Cause | Fix                                    |
| ------------- | ----- | -------------------------------------- |
| Not verified  |       | No adapter-specific error text in code |

## Change history
