> 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/h/hyperview-dcim.md).

# Hyperview DCIM

Hyperview is a data center infrastructure management (DCIM) platform. OctoXLabs reads the assets of category device with their software, and the Hyperview users.

## Use cases

* List data center devices read from Hyperview.

```
Adapters = hyperview-dcim
```

* Find Hyperview devices that were updated recently.

```
Adapters = hyperview-dcim AND LastSeen last now-30d/d
```

## Before you begin

### Network

| Source              | Destination                                                         | Port | Protocol |
| ------------------- | ------------------------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | Your Hyperview instance (for example `yourcompany.hyperviewhq.com`) | 443  | HTTPS    |

### Required permissions

| Scope or role                                                   | Permission | Needed for                            |
| --------------------------------------------------------------- | ---------- | ------------------------------------- |
| API client with a role that can read assets, software and users | Read       | Devices, installed software and Users |

## Create credentials in Hyperview DCIM

{% stepper %}
{% step %}

### Open API Clients

In the Hyperview user management portal go to **User Administration** > **API Clients** and click **Add API Client**.
{% endstep %}

{% step %}

### Fill in the form

Enter a description, select a role and set the access policies. Use Default if you are unsure.
{% endstep %}

{% step %}

### Download the credentials

Click **Add and Download Credentials**. The `client_credential.json` file holds the Client ID and the Client Secret.
{% endstep %}

{% step %}

### Store them safely

They cannot be changed after the API client is created.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type    | Default               | Description                                                          |
| ------------- | -------- | ------- | --------------------- | -------------------------------------------------------------------- |
| Domain        | Yes      | Text    | None                  | Hyperview instance, without the protocol prefix.                     |
| Client Id     | Yes      | Text    | None                  | Client ID of the API client.                                         |
| Client Secret | Yes      | Text    | None                  | Client secret from `client_credential.json`.                         |
| Scope         | No       | Text    | `HyperviewManagerApi` | OAuth scope. Change only if your instance needs another one.         |
| Api Version   | No       | Text    | `5.0`                 | API version sent with each request.                                  |
| Proxy         | No       | Text    | None                  | Proxy in `host:port` form. The connector prefixes it with `http://`. |
| Timeout       | No       | Integer | `30`                  | Seconds to wait for API responses.                                   |
| Thread Count  | No       | Integer | `32`                  | Parallel threads for software requests (1 to 32).                    |
| Sleep Time    | No       | Integer | None                  | Delay in seconds between thread batches.                             |

## Troubleshooting

| Error message                    | Cause                                                    | Fix                                                                    |
| -------------------------------- | -------------------------------------------------------- | ---------------------------------------------------------------------- |
| `Max retries exceeded for <url>` | The API kept returning HTTP 401 or 429 after 5 attempts. | Check the client ID, secret and scope, then run discovery again later. |

## Change history

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