Skip to content

Commit 03eb063

Browse files
committed
Add alert
1 parent 8695f61 commit 03eb063

File tree

3 files changed

+28
-5
lines changed

3 files changed

+28
-5
lines changed

articles/iot-accelerators/iot-accelerators-remote-monitoring-edge.md

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: timlt
66
ms.author: dobett
77
ms.service: iot-accelerators
88
services: iot-accelerators
9-
ms.date: 10/12/2018
9+
ms.date: 11/08/2018
1010
ms.topic: tutorial
1111
ms.custom: mvc
1212

@@ -135,7 +135,10 @@ An Edge device requires the Edge runtime to be installed. In this tutorial, you
135135
136136
```azurecli-interactive
137137
sudo apt-get update
138-
sudo apt-get install moby-engine moby-cli iotedge
138+
sudo apt-get install moby-engine
139+
sudo apt-get install moby-cli
140+
sudo apt-get update
141+
sudo apt-get install iotedge
139142
```
140143
141144
1. To configure the Edge runtime with the device connection string, edit the configuration file:
@@ -308,14 +311,34 @@ You need to wait several minutes for the package to deploy to your device and fo
308311
309312
You can view the temperature telemetry from your oil pump device in the Remote Monitoring web UI:
310313
311-
* Navigate to the **Devices** page and select your oil pump device.
312-
* In the **Telemetry** section of the **Device details** panel, click **Temperature**:
314+
1. Navigate to the **Devices** page and select your oil pump device.
315+
1. In the **Telemetry** section of the **Device details** panel, click **Temperature**:
313316
314317
[![View telemetry](./media/iot-accelerators-remote-monitoring-edge/viewtelemetry-inline.png)](./media/iot-accelerators-remote-monitoring-edge/viewtelemetry-expanded.png#lightbox)
315318
316319
You can see how the temperature rises until it reaches a threshold. The Stream Analytics Edge module detects when the temperature reaches this threshold and sends a command to the device to reduce the temperature immediately. All of this processing happens on the device without communicating with the cloud.
317320
318-
If you want to notify operators when the threshold was reached, you can [create a rule in the Remote Monitoring web UI](iot-accelerators-remote-monitoring-automate.md).
321+
If you want to notify operators when the threshold was reached, you can create a rule in the Remote Monitoring web UI:
322+
323+
1. Navigate to the **Rules** page and click **+ New rule**.
324+
1. Create a new rule with the following settings:
325+
326+
| Option | Value |
327+
| ------ | ----- |
328+
| Rule name | Oil pump temperature |
329+
| Description | Oil pump temperature exceeded 300 |
330+
| Device group | OilPumps |
331+
| Calculation | Instant |
332+
| Field | temperature |
333+
| Operator | > |
334+
| Value | 300 |
335+
| Severity level | Info |
336+
337+
[![Create rule](./media/iot-accelerators-remote-monitoring-edge/newrule-inline.png)](./media/iot-accelerators-remote-monitoring-edge/newrule-expanded.png#lightbox)
338+
339+
Click **Apply**.
340+
341+
1. Navigate to the **Dashboard** page. An alert shows in the **Alerts** panel when the temperature in the **oil-pump** device goes over 300.
319342
320343
## Next steps
321344
103 KB
Loading
52.4 KB
Loading

0 commit comments

Comments
 (0)