> 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/l/logmein-central.md).

# LogMeIn Central

|                                    |                                            |
| ---------------------------------- | ------------------------------------------ |
| Category                           | RMM / remote access                        |
| Asset types                        | Devices, Users                             |
| Authentication                     | Company ID and pre-shared key (HTTP Basic) |
| Direction                          | OctoXLabs → LogMeIn Central (read only)    |
| Supported LogMeIn Central versions | Not specified                              |
| Available since                    | Not specified                              |

LogMeIn Central is a remote access and management platform. OctoXLabs reads its hosts and users and adds them to the device and user inventories.

## Use cases

* **Find managed hosts missing from your EDR.** List hosts that LogMeIn Central reports but CrowdStrike does not.

```
Adapters = logmein-central AND NOT Adapters = falcon-crowdstrike
```

* **List LogMeIn users by email domain.** The domain is taken from the email address.

```
Adapters = logmein-central AND Domain = <your domain>
```

## Before you begin

### Network

| Source              | Destination                           | Port | Protocol |
| ------------------- | ------------------------------------- | ---- | -------- |
| OctoXLabs connector | secure.logmein.com (Domain parameter) | 443  | HTTPS    |

The connector always uses HTTPS. If a proxy is set, requests go through it.

### Required permissions

Not verified: the sources do not name a permission. The company ID and PSK must allow reading hosts and users.

## Create credentials in LogMeIn Central

{% stepper %}
{% step %}

### Open the API settings

In your LogMeIn Central account, go to **Configuration > API**.
{% endstep %}

{% step %}

### Copy the values

Copy your Company ID and your Pre-Shared Key (PSK).
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter            | Required | Type    | Default            | Description                                                 |
| -------------------- | -------- | ------- | ------------------ | ----------------------------------------------------------- |
| Domain               | No       | String  | secure.logmein.com | Domain of LogMeIn Central.                                  |
| Company ID           | Yes      | String  | None               | Company ID from **Configuration > API**.                    |
| PSK (Pre-Shared Key) | Yes      | String  | None               | Pre-shared key from **Configuration > API**.                |
| Proxy                | No       | String  | None               | Proxy address, used as `http://<value>` for HTTP and HTTPS. |
| Timeout              | No       | Integer | 30                 | Seconds to wait for an API response.                        |

## What the connection test does

The test calls the authentication endpoint with Basic authentication (company ID and PSK). It passes when the answer is valid JSON with `success` true.

## API endpoints called

| Method | Path                          | Purpose                                  |
| ------ | ----------------------------- | ---------------------------------------- |
| GET    | /public-api/v1/authentication | Connection test.                         |
| GET    | /public-api/v2/hosts          | Lists hosts.                             |
| GET    | /public-api/v2/users          | Lists users (`mahData` and `usersData`). |

When the API answers 429, the connector waits 60 seconds and retries, up to 5 attempts.

## Fields fetched

### Devices

| LogMeIn Central field | OctoXLabs field               |
| --------------------- | ----------------------------- |
| hostName              | Hostname (primary identifier) |

### Users

| LogMeIn Central field | OctoXLabs field            |
| --------------------- | -------------------------- |
| email                 | Email (primary identifier) |
| firstName             | FirstName                  |
| lastName              | LastName                   |
| Part of email after @ | Domain                     |
| lastLoginDate         | Last logon time            |

Other host fields are kept as raw data and not mapped to OctoXLabs fields.

## Troubleshooting

| Error message                                                  | Cause                                                                                   | Fix                                                                                            |
| -------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| Failed to fetch connection test data: {status}                 | The authentication call answered with a status other than 200.                          | Check the company ID and the PSK.                                                              |
| Failed to fetch devices: {status}                              | The hosts request did not answer 200.                                                   | Check the credentials and the permissions.                                                     |
| Failed to fetch users: {status}                                | The users request did not answer 200.                                                   | Check the credentials and the permissions.                                                     |
| Invalid JSON response while fetching devices (status={status}) | The hosts response was not JSON.                                                        | Check the domain.                                                                              |
| Request failed after {n} retries for url {url}                 | The API kept answering 429.                                                             | Run discovery again later.                                                                     |
| 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. | Read the status code and body in the message, then check the credentials, permissions and URL. |

## Change history
