# Alert Rules for Devices

{% hint style="info" %}
**Note:** This page describes how to configure alerts for **Device Layer** monitoring (network infrastructure devices like routers and switches monitored via SNMP).

If you are looking to configure alerts for **Connected Devices** (CPE, home routers, and other endpoints), please see our documentation on [Alerts for Connected Devices](https://docs.thousandeyes.com/product-documentation/connected-devices/connected-devices-alerts).
{% endhint %}

## Prerequisites

This section assumes that you have gone through the [device discovery process](https://docs.thousandeyes.com/product-documentation/device-layer/discovering-device-layer-devices), and are using the ThousandEyes platform to monitor one or more devices.

Once ThousandEyes is monitoring devices, you may want to configure alerts based on device-layer data.

## Device-Layer Alert Rules

To create an alert rule for the device layer, go to the [**Manage > Alert Rules > Devices**](https://app.thousandeyes.com/manage/alerts/rules/?tab=Device) tab and click **Add New Alert Rule**.

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-92d00b5f9e163bd43b14cad3b23741ead9e867b6%2Falerts_new-alert-rule-devices.png?alt=media\&token=ec13a452-2b20-47b7-a0c2-301d521f9598)

The sections below describe the fields on **Add New Alert Rule** screen.

### Primary Section

* **Alert Type**: Select **Device** or **Interface**.
* **Rule Name**: Give the alert rule a human-readable name that makes sense for your implementation of ThousandEyes.

### Settings Tab

* **Devices**: Select the devices that this alert rule should apply to. After you click the dropdown, you can search for devices by name.

  A device's *name* is its SNMP name, or the name you changed it to after the device-discovery process. For more information, see [Device Discovery](https://docs.thousandeyes.com/product-documentation/device-layer/discovering-device-layer-devices#device-discovery) and [Device-Discovery Results](https://docs.thousandeyes.com/product-documentation/device-layer/device-discovery-results).
* **Alert Conditions**: Set the alert conditions that must be met in order to trigger this alert rule. The available alert conditions vary depending on the alert type you have specified.

### Notifications Tab

The **Notifications** tab works the same regardless of the alert type you are setting up. You can find information about how to use the **Notifications** tab in [Alert Notifications](https://docs.thousandeyes.com/product-documentation/alerts/alert-notifications).

### Additional Resources

For information on custom-built integrations for alerts in ThousandEyes, see [Custom-Built Integrations](https://docs.thousandeyes.com/product-documentation/integration-guides/custom-built-integrations).
