> 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/s/solarwinds-ipam.md).

# SolarWinds IPAM

SolarWinds IP Address Manager (IPAM) runs on the SolarWinds Orion platform and tracks IP space, subnets and DHCP/DNS bindings. OctoXLabs reads IP nodes from the `IPAM.IPNode` entity and adds them to the device inventory.

## Use cases

* **Find IP addresses in use that no endpoint tool reports.** How devices are matched depends on your device merge settings.

```
Adapters = solarwinds-ipam AND NOT Adapters = active-directory
```

* **List IPAM nodes.** Use the list to review allocation records and compare them with other sources.

```
Adapters = solarwinds-ipam
```

## Before you begin

### Network

| Source              | Destination                          | Port                           | Protocol                         |
| ------------------- | ------------------------------------ | ------------------------------ | -------------------------------- |
| OctoXLabs connector | SolarWinds Orion host (IP parameter) | 17774 (17778 with Use REST v1) | HTTPS (HTTP if Is Secure is off) |

The connector does not verify the TLS certificate.

### Required permissions

| Scope or role  | Permission       | Needed for          |
| -------------- | ---------------- | ------------------- |
| IPAM User role | View (read-only) | Reading IPAM.IPNode |

## Create credentials in SolarWinds

{% stepper %}
{% step %}

### Create an account

Create or choose an account for OctoXLabs on the SolarWinds Orion server.
{% endstep %}

{% step %}

### Assign the role

Give the account the **IPAM User** role. A read-only **View** permission level is enough.
{% endstep %}

{% step %}

### Choose the endpoint

Use port 17774 (SWIS JSON). Use port 17778 only if you turn on **Use REST v1 (legacy)**.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter            | Required | Type    | Default | Description                                                                                                 |
| -------------------- | -------- | ------- | ------- | ----------------------------------------------------------------------------------------------------------- |
| IP                   | Yes      | String  | None    | Hostname or IP address of the Orion server hosting IPAM.                                                    |
| Port                 | No       | Integer | 17774   | SWIS JSON port. Use 17778 with the legacy toggle.                                                           |
| Is Secure            | No       | Boolean | True    | Use HTTPS.                                                                                                  |
| Username             | Yes      | String  | None    | Account username.                                                                                           |
| Password             | Yes      | String  | None    | Account password.                                                                                           |
| Use REST v1 (legacy) | No       | Boolean | False   | Use the legacy GET `/api/v1/query` endpoint. Enable it only if your version has no SWIS JSON POST endpoint. |
| Timeout              | No       | Integer | 30      | Seconds to wait for an API response.                                                                        |

## Troubleshooting

| Error message                                                  | Cause                                                                                   | Fix                                                                        |
| -------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| Status Code: `, followed by URL, Method and the response body` | The API answered with a status other than 200. This is the shared REST connector error. | Check the credentials, the IPAM User role, the port and the legacy toggle. |

## Change history

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