# Monitoring Collection

> Check Connection Status, browse and export collected data, and watch Observation, Retention, and Buffer Statistics.

URL: https://www.trakhound.com/docs/mtconnect-server/monitoring

The App shows whether Collection is keeping up, and the data it has collected. The **Home** page is an overview of setup, health, and metrics, and **Collection** in the menu is a live overview of Collection's status, configuration, Observations, and Devices. Both refresh every 5 seconds.

![The Collection overview](https://www.trakhound.com/img/screenshots/previews/mtconnect-server-collection.webp)

## Connections

| Page | Shows |
| --- | --- |
| **Collection > Connections > Status** | Each Device's Connection Status, how long it's been in that status, the last message, and the Agent's version, sender, and instance ID. Refreshes every 5 seconds |
| **Collection > Connections > History** | A timeline of Connection Status changes, filtered by Device, status, and time range |

| Status | Meaning |
| --- | --- |
| **CONNECTED** | Data is being read from the Agent |
| **CONNECTING** | Connecting to the Agent, or reconnecting after the connection was lost |
| **DISCONNECTED** | The Agent can't be reached |
| **ERROR** | The Agent returned an MTConnect error (ex. `NO_DEVICE`). See the message |
| **STOPPED** | Collection of the Device stopped, ex. its License expired or was unassigned, or the Collection Worker stopped |
| **DISABLED** | The Device is disabled |

![Connection Status for each Device being collected](https://www.trakhound.com/img/screenshots/previews/mtconnect-server-connections.webp)

## Data

**Collection > Data > Devices** lists the collected Devices. Open one to browse what's been stored, with the MTConnect Standard's definitions for each Type, SubType, and Value:

| Tab | Shows |
| --- | --- |
| **Current** | The latest value of each DataItem. Live mode updates every second |
| **History** | The Observations in a time range. Search by Category, value, and DataItem, chart up to 12 Samples, and see how long each Event and Condition lasted. Live mode adds new Observations as they're stored |
| **Model** | The stored Device model |

![Data History, searching the stored Observations of a Device](https://www.trakhound.com/img/screenshots/previews/mtconnect-server-data-history.webp)

**Collection > Data > Export** exports Observations to an Excel (`.xlsx`) file: select the Devices, the DataItems, and a time range (from the last 15 minutes up to 30 days, or a custom range), preview them, and click export.

Times are shown in the viewer's time zone, in 12 or 24 hour format. The **Data** pages show what Collection has stored; to see what an Agent is serving now, use the [Request Browser](https://www.trakhound.com/docs/mtconnect-server/tools#request-browser).

## Statistics

| Page | Shows |
| --- | --- |
| **Collection > Statistics > Observations** | Observation totals and rates (per second, minute, and hour) for each Device, and for each DataItem of a Device |
| **Collection > Statistics > Retention** | For each [Retention](https://www.trakhound.com/docs/mtconnect-server/data-retention) rule and Device: Observations deleted (in total and in the last run), the TTL, when it last ran, whether it's catching up, and any errors |
| **Collection > Statistics > Buffers** | The Tables Buffers of each Router (Observations, Current values, Devices, Assets, and Connection Status): items queued, the queue rate, and File Buffer pages and read / write rates, with charts of the last 5 minutes. Updates every second |

![Observation Statistics for each DataItem of a Device](https://www.trakhound.com/img/screenshots/previews/mtconnect-server-statistics.webp)

> Items building up in a Buffer, or in its File Buffer, mean the Router's database can't keep up or can't be reached. The File Buffer keeps the data on disk until it can be written, so it isn't lost while the database is down.
