Objectives

In this Exercise you will learn how to:

  • Setup Alert KPI at device type

Before you begin

This Exercise requires that you have:

  • Review the Monitor Device Type and Devices lab to gain a foundational understanding of device types and devices.
  • Set up a sample device type and a corresponding device.

In this lab, a device type has been configured with two metrics: temperature and pressure. setup alert

A sample device has also been added to this device type, and the simulator has been started. setup alert


In this exercise, you will configure an Alert KPI for the device type.

Alert Setup

Navigate to the device type you created. click on the calculated metrics tab. setup alert

Click on the "Add calculated metrics" button. setup alert

In the search box, type "Alert". setup alert

Select AlertHighValue from the list and click "Select". setup alert

Choose "All devices of this type" and click "Next". setup alert

Select the input item for which you want to configure the alert. Specify the threshold value, severity, and status. Click on "Next". setup alert

Provide a name for the alert and click "Create". setup alert

You should now see the newly created alert under the Calculated Metrics section as below. setup alert

Setting up an alert at the device type level automatically applies the same alert configuration to all devices associated with that type. You will also see the same calculated metric reflected at the individual device level.

You should able to see the same calculated metrics created for device as well. setup alert

Pipeline will run and produce an alert after sometime when the threshold value is exceeded.

Tips

In this exercise, we used the AlertHighValue KPI. Similarly, you can explore other alert types such as:
- AlertLowValue
- AlertExpression
- AlertOutOfRange.
You can read more about these alert types here.


Congratulations you have successfully setup Alerts at device type level 🤗.