> 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/sensu.md).

# Sensu

Sensu Go is a monitoring and observability platform. OctoXLabs uses it to add the entities of the default namespace to the device inventory and the Sensu users to the user inventory.

## Use cases

* List entities that Sensu monitors.

```
Adapters = sensu
```

* Find Sensu entities that no EDR covers.

```
Adapters = sensu AND NOT Adapters = falcon-crowdstrike
```

## Before you begin

### Network

| Source              | Destination                      | Port                          | Protocol                           |
| ------------------- | -------------------------------- | ----------------------------- | ---------------------------------- |
| OctoXLabs connector | Sensu backend API (IP you enter) | The port you enter (required) | HTTPS (HTTP when Is Secure is off) |

### Required permissions

| Scope or role    | Permission | Needed for                                  |
| ---------------- | ---------- | ------------------------------------------- |
| Sensu Go account | Read       | Entities in the default namespace and users |

Exact role: Not verified.

## Create credentials in Sensu

Use a Sensu Go account that can authenticate with the Sensu backend and read entities and users. The source instructions do not give the steps. Not verified: the role.

## Connection parameters

| Parameter  | Required | Type    | Default | Description                    |
| ---------- | -------- | ------- | ------- | ------------------------------ |
| IP         | Yes      | String  | None    | IP address of the Sensu host.  |
| Port       | Yes      | String  | None    | Port of the Sensu backend API. |
| Username   | Yes      | String  | None    | Sensu Go user.                 |
| Password   | Yes      | String  | None    | Password of that user.         |
| Is Secure? | No       | Boolean | True    | Use HTTPS.                     |

## Troubleshooting

| Error message | Cause                                                                                                                                      | Fix                                                                                                                          |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------- |
| Status Code:  | The API answered with a status other than the one the connector expects. The message also lists the URL, the method and the response body. | Read the status code and the response body in the message, then check the credentials, the permissions and the network path. |

## Change history

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