> 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/hpe-greenlake-for-compute-ops-management.md).

# HPE GreenLake for Compute Ops Management

HPE GreenLake for Compute Ops Management is a cloud service that manages HPE servers. OctoXLabs reads the servers with their BMC addresses, operating system and software inventory.

## Use cases

* List servers managed by Compute Ops Management by operating system.

```
Adapters = greenlake-compute AND OS.Type = Linux
```

* Find managed servers that are not covered by your EDR.

```
Adapters = greenlake-compute AND NOT Adapters = falcon-crowdstrike
```

## Before you begin

### Network

| Source              | Destination                                                                        | Port | Protocol |
| ------------------- | ---------------------------------------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | The URL you enter in the URL field (HPE GreenLake Compute Ops Management API host) | 443  | HTTPS    |

### Required permissions

| Scope or role                                                      | Permission   | Needed for |
| ------------------------------------------------------------------ | ------------ | ---------- |
| Personal API client for the **HPE Compute Ops Management** service | Read servers | Devices    |

## Create credentials in HPE GreenLake for Compute Ops Management

{% stepper %}
{% step %}

### Open the workspace

On the HPE GreenLake header click the workspace menu and select **Manage Workspace**.
{% endstep %}

{% step %}

### Open personal API clients

Select **Personal API clients** and click **Create personal API client**.
{% endstep %}

{% step %}

### Name the client and choose the service

Enter a name. For the service, select **HPE Compute Ops Management**.
{% endstep %}

{% step %}

### Create the client

Click **Create personal API client**. HPE GreenLake shows the credentials.
{% endstep %}

{% step %}

### Copy the credentials

Click **Copy** next to Client ID and Client Secret and store both safely, then click **Close**.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type    | Default | Description                                                                                                                              |
| ------------- | -------- | ------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| URL           | Yes      | Text    | None    | URL (host) of the HPE GreenLake for Compute Ops Management API. Enter it without the scheme; the connector adds `https://` or `http://`. |
| Client Id     | Yes      | Text    | None    | Client ID of the personal API client.                                                                                                    |
| Client Secret | Yes      | Text    | None    | Client secret of the personal API client.                                                                                                |
| Api Version   | No       | Text    | `v1`    | API version of Compute Ops Management: `v1` or `v1beta2`.                                                                                |
| Is Secure?    | No       | Boolean | `true`  | Use HTTPS. When off, the connector uses HTTP.                                                                                            |

## Troubleshooting

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

## Change history

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