> 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-ksplice.md).

# Oracle Ksplice

Oracle Ksplice applies Linux kernel and user space patches without a reboot. OctoXLabs reads the machines that report to the Ksplice Uptrack service and adds them as devices.

## Use cases

* List machines that report to Ksplice.

```
Adapters = oracle-ksplice
```

* Find machines that have not reported to Ksplice for 30 days.

```
Adapters = oracle-ksplice AND NOT LastSeen last now-30d/d
```

## Before you begin

### Network

| Source              | Destination              | Port | Protocol |
| ------------------- | ------------------------ | ---- | -------- |
| OctoXLabs connector | `api-ksplice.oracle.com` | 443  | HTTPS    |

### Required permissions

An Uptrack API user with its API key. The sources name no further role.

## Create credentials in Oracle Ksplice

{% stepper %}
{% step %}

### Open Ksplice settings

Sign in to the Ksplice web interface and open the settings page.
{% endstep %}

{% step %}

### Note the API user

Use the Uptrack API username. It is not your Oracle SSO console login.
{% endstep %}

{% step %}

### Copy the API key

Copy the API key. Do not use the 64-character access key; that is a different credential used by the Uptrack client itself.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default                | Description                                                       |
| --------- | -------- | ------- | ---------------------- | ----------------------------------------------------------------- |
| Domain    | Yes      | String  | api-ksplice.oracle.com | Ksplice Uptrack API host, without the scheme.                     |
| Username  | Yes      | String  |                        | Uptrack API username (sent as `X-Uptrack-User`).                  |
| API Key   | Yes      | String  |                        | API key from the Ksplice settings page (sent as `X-Uptrack-Key`). |
| Proxy     | No       | String  |                        | Proxy address as `host:port`.                                     |
| Timeout   | No       | Integer | 30                     | Seconds to wait for API responses.                                |

## Troubleshooting

| Error message                                        | Cause                                        | Fix                                               |
| ---------------------------------------------------- | -------------------------------------------- | ------------------------------------------------- |
| Unexpected /api/1/machines payload: expected a list. | The API did not return an array of machines. | Check the API user and key, and the Domain value. |

## Change history

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