> For the complete documentation index, see [llms.txt](https://wiki.datadike.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.datadike.com/sonar/administration/devices/device-list.md).

# The device list

Find a device in Dashboard › Sysadmin: the clients overview, search, filters, columns and status, the action menu, and the Edit form.

## What this is and when to use it

**Dashboard › Sysadmin** is where every device with a SONAR agent is listed. It opens on a per-client health overview; picking a client opens the device list, titled **SYSADMIN — Endpoint monitoring and management**. From the list you find a device, read its status at a glance, open its details panel, act on it from the action menu, and change its settings with **Edit**.

Use it whenever the question starts with a device: is it online, when did it last answer, who is logged in, does it need a reboot, which site is it in.

## Before you start

* A role with **List Agents** (**Admin Center › Roles**, group **Agents**). The list shows only the devices of the clients and sites your role allows.
* **Edit Agent** to use **Edit**, maintenance mode and archiving. The other actions of the menu have their own permissions, listed in [Actions on a device](#actions-on-a-device).
* At least one device with the agent installed. See [Onboard your first device](https://wiki.datadike.com/sonar/get-started/first-device.md).

## Steps

1. Open **Dashboard › Sysadmin**. The **Clients overview** appears, with one card per client and an **All clients** card with the organization totals.
2. Click a client card, or **All clients**. The device list opens with a **Client** filter chip above it.
3. To narrow the list to one site, expand the client in the **Clients** group of the sidebar and click the site.
4. Type in **Search devices...** and press Enter, or click the magnifier.
5. Click **Filters** to filter by availability, device type or last seen, then click **Apply**.
6. Click a column header to sort by that column. Click it again to reverse the order.
7. Click a row. The details panel below the list loads that device.
8. Right-click the row to open the action menu for that device.

## What you should see

The list shows 10 rows per page by default; the selector above the table switches between 10, 25, 50 and 100, and **Page 1 of N** with the arrow buttons moves between pages. Search, filters and sorting apply to the whole list, not only to the page on screen.

Every active filter appears as a chip above the table — **Client**, **Site**, **Availability**, **Type**, **Last seen**, and the sort order as **Order By Hostname (ASC)**. Each chip has an `x` to remove it; **Clear Filters** removes all of them, including the search text.

When a list loads, the first row is selected and the details panel shows it. **No devices found.** means nothing matches the current client, search and filters.

The console remembers the last client you opened. The next time you open **Dashboard › Sysadmin** in the same browser it goes straight to that client's devices; remove the **Client** chip to return to the overview.

## How to verify it worked

* **Finding a device**: the chips above the table say exactly which client, site and filters produced the list. If a device you expect is missing, remove chips one at a time until it appears.
* **Editing a device**: after **Save** the console shows `Agent was edited!` and the row reflects the new site, type or description. The change is recorded in **Reports & Audits › Audits** as a **Modify** action on object **Agent**, with your username and the values before and after.

## The clients overview

The first screen of **Dashboard › Sysadmin** is titled **Clients overview — Device health snapshot per client**. Each card shows the client name, its number, the total of devices, and seven counters. Hover a counter to see its name.

| Counter        | Devices it counts                             |
| -------------- | --------------------------------------------- |
| Online < 12h   | Checked in within the last 12 hours           |
| Offline > 12h  | Last check-in between 12 and 24 hours ago     |
| Offline > 24h  | Last check-in between 24 hours and 7 days ago |
| Offline > 7d   | Last check-in between 7 and 30 days ago       |
| Overdue > 30d  | Last check-in more than 30 days ago, or never |
| In maintenance | Devices in maintenance mode                   |
| Archived       | Archived devices                              |

The five time-based counters leave out devices in maintenance mode and archived devices, which have their own counters. The windows are fixed and do not depend on each device's **Offline after** and **Overdue after** settings.

**Search client...** filters the cards by client name or number.

## Columns

Every column can be hidden or shown from the **⋮** button at the right of the toolbar (**Columns**). The choice is kept in your browser.

| Column          | What it shows                                                                                                |
| --------------- | ------------------------------------------------------------------------------------------------------------ |
| #               | Row number across pages                                                                                      |
| Hostname        | Device name, with a server or workstation icon                                                               |
| IP              | Local IPv4 addresses reported by the agent; the public IP when there are none                                |
| Agent Status    | `online`, `offline` or `overdue` — see [Status](#status)                                                     |
| Last Response   | Date and time of the agent's last check-in                                                                   |
| OS              | Operating system name and version                                                                            |
| Type            | `server` or `workstation`, as set in **Edit**                                                                |
| Checks Status   | `Passing`, or the number of checks failing, warning and info — for example `1 failing / 0 warning / 0 info`  |
| Client          | Client the device belongs to                                                                                 |
| Site            | Site the device belongs to                                                                                   |
| Public IP       | Address the device uses to reach SONAR                                                                       |
| Description     | Free text set in **Edit**                                                                                    |
| User            | User logged in on the device. When no one is logged in and the device is online, the last user who logged in |
| Patches Pending | `Yes` when the device has approved Windows updates not yet installed                                         |
| Pending Actions | Number of queued actions, such as a scheduled reboot                                                         |
| Needs Reboot    | `Yes` when the operating system reports a pending reboot                                                     |
| Boot Time       | Time since the last boot, for example `3 days ago`                                                           |
| First Seen      | When the agent registered with SONAR                                                                         |

These columns sort: **Hostname**, **IP**, **Agent Status**, **Last Response**, **OS**, **Type**, **Client**, **Site**, **Public IP**, **User**, **Boot Time** and **First Seen**.

## Status

The agent checks in about once a minute. Each check-in updates **Last Response**, and the status is the age of that last check-in compared with two times set per device in **Edit**:

| Status    | Rule                                                                                                         | Default                 |
| --------- | ------------------------------------------------------------------------------------------------------------ | ----------------------- |
| `online`  | Last check-in newer than **Offline after**                                                                   | 720 minutes (12 hours)  |
| `offline` | Older than **Offline after**, newer than **Overdue after**. A device that never checked in is also `offline` | —                       |
| `overdue` | Older than **Overdue after**                                                                                 | 43200 minutes (30 days) |

A device that is switched off keeps showing `online` until **Offline after** has passed. Lower **Offline after** on devices where you need to know sooner. `overdue` is the status that raises an availability alert, when overdue alerts are enabled for the device — see [Alerts and alert templates](https://wiki.datadike.com/sonar/administration/automation/alerts.md).

## Search and filters

**Search devices...** matches, in any part of the text: hostname, description, operating system, platform, type, client, site, public and local IP addresses, logged-in and last logged-in user, and CPU model. A date typed as `dd/mm` or `dd/mm/yyyy` matches devices whose last check-in, first seen or boot date falls on that day. The words `server`, `desktop` and `notebook` on their own list the devices of that hardware category.

**Filters** opens **Filter Devices**:

| Section      | Option                                                            | Devices listed                                                                 |
| ------------ | ----------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| Availability | All                                                               | No availability filter                                                         |
|              | Online                                                            | Checked in within the last 12 hours                                            |
|              | Offline                                                           | Status `offline`, by each device's own **Offline after** and **Overdue after** |
|              | Overdue                                                           | Last check-in more than 30 days ago                                            |
|              | Offline 12+ hours                                                 | Last check-in between 12 and 24 hours ago, or never                            |
|              | Offline 24+ hours                                                 | Last check-in between 24 hours and 7 days ago                                  |
|              | Offline 7+ days                                                   | Last check-in between 7 and 30 days ago                                        |
|              | Maintenance Mode                                                  | Devices in maintenance mode                                                    |
| Device Type  | All, Servers, Workstations                                        | By the **Type** set in **Edit**                                                |
| Last Seen    | Any time, Last 1H, Last 3H, Last 12H, Last 24H, Last 7D, Last 30D | Last check-in inside that window, counted back from now                        |
|              | Custom...                                                         | Last check-in between two dates you pick                                       |

Except **Offline** and **Maintenance Mode**, the availability options leave out devices in maintenance mode and archived devices. **Clear** resets the three sections and reloads the list.

## Actions on a device

Right-click a row, or use the **⋮** button in the details panel header, to open **Agent Actions** for that device. An item you lack the permission for is greyed out and says `You don't have permission for this action`.

| Action                                             | What it does                                                                                                                                                                | Permission                       |
| -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- |
| Take Control                                       | Opens the remote access window for the device in a new browser tab                                                                                                          | Use Mesh                         |
| Edit                                               | Opens the Edit form — see [Edit a device](#edit-a-device)                                                                                                                   | Edit Agent                       |
| Pending Agent Actions                              | Lists the actions queued for the device, such as scheduled reboots, with **Cancel Action**                                                                                  | Edit Agent, List Pending Actions |
| Send Command                                       | Runs a one-off command on the device                                                                                                                                        | Send Command                     |
| Run Script                                         | Runs a script from the library on the device                                                                                                                                | Run Scripts                      |
| Run Favorited Script                               | Submenu with your favorited scripts                                                                                                                                         | Run Scripts                      |
| Enable Maintenance Mode / Disable Maintenance Mode | Stops the device from raising alerts while you work on it — see [Device details](https://wiki.datadike.com/sonar/administration/devices/device-details.md#maintenance-mode) | Edit Agent                       |
| Archive Agent / Unarchive Agent                    | Archives the device after you type `yes` — see [Device details](https://wiki.datadike.com/sonar/administration/devices/device-details.md#archive-a-device)                  | Edit Agent                       |
| Patch Management › Run Patch Status Scan           | Asks the device to scan for Windows updates                                                                                                                                 | Manage Windows Updates           |
| Patch Management › Install Patches Now             | Installs the approved Windows updates now                                                                                                                                   | Manage Windows Updates           |
| Run Checks                                         | Runs the device's checks now                                                                                                                                                | Run Checks                       |
| Wake-Up (WoL)                                      | Sends a Wake-on-LAN request to the device                                                                                                                                   | Send Wake-on-LAN                 |
| Assign Automation Policy                           | Assigns a policy directly to the device, or blocks inheritance                                                                                                              | Manage Policies, Edit Agent      |
| Reboot › Now                                       | Restarts the device after a confirmation                                                                                                                                    | Reboot Agents                    |
| Reboot › Later                                     | Schedules a restart at a date and time in the device's time zone                                                                                                            | Reboot Agents                    |
| Shutdown                                           | Shuts the device down after you type `yes`                                                                                                                                  | Reboot Agents                    |
| Remove Agent                                       | Uninstalls the agent and deletes the device from SONAR. Asks for a **Reason**, stored in the audit record                                                                   | Uninstall Agents                 |

**Remove Agent** checks first whether the device answers. If it does not, the console warns that the agent will need to be uninstalled manually on the computer and asks whether to continue. See [Remove agents](https://wiki.datadike.com/sonar/deploy-operate/remove-agents.md).

Double-clicking a row opens **Edit**.

## Edit a device

1. Right-click the row and choose **Edit**, or double-click the row.
2. On **General**, change the fields you need — see the field reference below.
3. On **Custom Fields**, fill the values of the device custom fields. The tab lists every field created for agents in **Admin Center › Settings › Custom Fields**, and says so when there are none.
4. On **Patches**, set the device's Windows update approval and schedule — see [Patch approval policy](https://wiki.datadike.com/sonar/administration/patching/patch-policy.md).
5. **Automation Policies** is read-only: it shows the policies that apply to the device, its alert template, and the effective patch policy.
6. Click **Save**.

Changing **Site** moves the device to that site, with the policies and alert template that come with it.

## Common errors

| Symptom                                                                                             | Cause                                                                              | Fix                                                                                                             |
| --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| A device is missing from the list                                                                   | A chip is still filtering it out, or your role does not include its client or site | Click **Clear Filters**. If it is still missing, check the role's clients and sites in **Admin Center › Roles** |
| An action is greyed out with `You don't have permission for this action`                            | Your role lacks the permission in the table above                                  | Ask for the permission to be added to your role                                                                 |
| A switched-off device still shows `online`                                                          | **Offline after** has not passed since the last check-in                           | Wait, or lower **Offline after** for that device                                                                |
| `Minimum is 15 seconds`, `Minimum is 2 minutes` or `Minimum is 3 minutes` under a field in **Edit** | The value is below the range the form accepts                                      | Enter a value inside the range in the field reference                                                           |
| **Remove Agent** says the agent is offline                                                          | The device did not answer                                                          | Continue only if you can uninstall the agent on the computer by hand                                            |
| The list opens straight on one client                                                               | The console restored the last client you opened                                    | Remove the **Client** chip to return to the overview                                                            |

## Field reference

**Edit › General**

| Field                        | What it does                                                                      | Accepted values                                      | Default                |
| ---------------------------- | --------------------------------------------------------------------------------- | ---------------------------------------------------- | ---------------------- |
| Site                         | Site the device belongs to. Changing it moves the device                          | Any site you can see                                 | Site chosen at install |
| Type                         | Server or workstation. Decides which policies apply and how the device is counted | `server`, `workstation`                              | Chosen at install      |
| Description                  | Free text shown in the **Description** column and searchable                      | Up to 255 characters                                 | Empty                  |
| Timezone                     | Time zone used for the device's schedules, such as **Reboot › Later**             | Any time zone, or empty to follow the global default | Global default         |
| Device ownership             | Whether the organization owns or leases the device                                | **Owned**, **Leased**                                | **Owned**              |
| Leased Reference             | Contract or asset reference of a leased device                                    | Up to 200 characters                                 | Empty                  |
| Run checks every (seconds)   | How often the agent runs the device's checks                                      | 15 to 86400                                          | 120                    |
| Offline after (minutes)      | Time without a check-in after which the device shows `offline`                    | 2 to 9999998                                         | 720                    |
| Overdue after (minutes)      | Time without a check-in after which the device shows `overdue`                    | 3 to 9999998                                         | 43200                  |
| Get overdue email alerts     | Sends an email when the device becomes overdue                                    | On, off                                              | Off                    |
| Get overdue sms alerts       | Sends an SMS when the device becomes overdue                                      | On, off                                              | Off                    |
| Get overdue dashboard alerts | Shows an alert in the console when the device becomes overdue                     | On, off                                              | Off                    |

An alert template applied to the device can send overdue alerts even when these three boxes are off.

## Related pages

* [Device details](https://wiki.datadike.com/sonar/administration/devices/device-details.md) — the panel below the list
* [Clients and sites](https://wiki.datadike.com/sonar/administration/devices/clients-and-sites.md)
* [Custom fields](https://wiki.datadike.com/sonar/administration/settings/custom-fields.md)
* [Alerts and alert templates](https://wiki.datadike.com/sonar/administration/automation/alerts.md)
* [Remote control](https://wiki.datadike.com/sonar/administration/remote-access/remote-control.md)
