Version 44.1 by Alec Chen on 2025/11/24 08:52

Show last authors
1 (% class="wikigeneratedid" id="H" %)
2 本教程目标是指导用户如何在无需编写代码/修改规则链的情况下为每个设备配置报警规则并设置邮件通知
3
4 {{toc/}}
5
6 = 1. 导入仪表盘 =
7
8 The Dashboard shown below displays all devices by default. [[attach:set_alarm.json||target="_blank"]]
9
10 [[image:https://wiki.thingseye.io/xwiki/bin/download/Downlink%20Command%20Guide/WebHome/1762933458042-294.png?width=645&height=565&rev=1.1||alt="1762933458042-294.png" height="898" width="1025"]]
11
12 [[image:1763627459220-746.png]]
13
14
15 Each device's threshold are managed separately. Clicking on a device in the device list on the left will display the current device status and preset thresholds/email addresses on the right.
16
17 [[image:1763713260857-974.png||height="792" width="1029"]]
18
19
20 ----
21
22 = (% id="cke_bm_9685S" style="display:none" %) (%%)2. 配置profile规则 =
23
24 == 2.1 创建condition以在达到阈值时报警 ==
25
26 (% class="wikigeneratedid" id="H70B951FB7F168F9156FE68078FDB51657F168F916A215F0F5E7665B05EFA62A58B6689C45219" %)
27 点击编辑图标进入编辑模式并新建报警规则
28
29 (% class="wikigeneratedid" id="H-1" %)
30 [[image:1763630110726-980.png||height="720" width="1014"]]
31
32 [[image:1763630224004-924.png||height="720" width="1014"]]
33
34 [[image:1763630671736-678.png||height="721" width="1015"]]
35
36 [[image:1763630710302-584.png||height="721" width="1015"]]
37
38 [[image:1763630805148-569.png||height="721" width="1015"]]
39
40 [[image:1763630987781-241.png||height="721" width="1015"]]
41
42 [[image:1763714060349-779.png||height="782" width="1016"]]
43
44
45 [[image:1763631366289-693.png||height="720" width="1014"]]
46
47 [[image:1763709709956-185.png||height="722" width="1015"]]
48
49
50
51 ----
52
53 == 2.2 设置clear condition 以在数据恢复正常的时候清除Alarm ==
54
55 步骤与Creat alarm类似,仅值设置相反
56
57 [[image:1763632387865-386.png||height="720" width="1014"]]
58
59 [[image:1763693498016-737.png||height="720" width="1014"]]
60
61 [[image:1763693573052-369.png||height="723" width="1018"]]
62
63 [[image:1763708672557-593.png||height="723" width="1017"]]
64
65 Save after set
66
67 [[image:1763708628399-171.png||height="723" width="1017"]]
68
69 [[image:1763694048124-392.png||height="722" width="1017"]]
70
71 [[image:1763694065009-504.png||height="722" width="1017"]]
72
73
74 ----
75
76 = 3. 配置阈值输入框 =
77
78 == 3.1 选择要显示的Realtime data key ==
79
80 返回仪表盘,点击需要编辑的设备
81
82 [[image:1763714842488-945.png||height="784" width="1018"]]
83
84 [[image:1763715443568-173.png||height="784" width="1019"]]
85
86 点击Edit mode进入编辑模式
87
88 [[image:1763715522992-941.png||height="785" width="1020"]]
89
90 [[image:1763715545212-375.png||height="786" width="1021"]]
91
92
93 删除默认key,选择需要显示的key
94
95 [[image:1763717628344-632.png||height="789" width="1024"]]
96
97 确认后保存
98
99 [[image:1763717656075-762.png||height="790" width="1026"]]
100
101
102 [[image:1763717678221-857.png||height="792" width="1029"]]
103
104
105 ----
106
107 == 2.2 创建Threshold KEY ==
108
109 进入编辑模式,选择Threshold Setting 组件
110
111 [[image:1763717776928-677.png||height="794" width="1031"]]
112
113 [[image:1763717871745-156.png||height="794" width="1031"]]
114
115 Save after add.
116
117 [[image:1763718016288-797.png||height="795" width="1033"]]
118
119 [[image:1763718040563-785.png||height="797" width="1035"]]
120
121 ----
122
123 3.3 示例
124
125 [[image:1763718234145-302.png||height="799" width="1037"]]
126
127
128 (% id="cke_bm_30710S" style="display:none" %) (%%)收到的警报邮件示例:
129 [[image:1763707708365-348.png]]
130
131
132
133 ----
134
135 = 4 .配置Notification(仅初次使用需要) =
136
137 如果是第一次配置发送邮件的功能,还需要先配置Notification以指定收件人/模板/发送规则
138
139 == 4.1 配置Recipients ==
140
141 (% class="wikigeneratedid" id="H" %)
142 [[image:1763695480359-924.png||height="721" width="1015"]]
143
144 (% class="wikigeneratedid" id="H-1" %)
145 [[image:1763696273020-168.png||height="721" width="1015"]]
146
147 (% class="wikigeneratedid" id="H-2" %)
148 [[image:1763696322001-489.png||height="721" width="1015"]]
149
150 (% class="wikigeneratedid" %)
151 [[image:1763696373932-724.png||height="722" width="1015"]]
152
153
154 ----
155
156 == 4.2 配置Templates ==
157
158 [[image:1763704822528-793.png||height="721" width="1014"]]
159
160 Set Compose
161
162 (% class="box" %)
163 (((
164 **Web**
165
166 **Subjtct:**${alarmOriginatorName} ${alarmType}
167
168 **Message:**${alarmOriginatorName} alarmed ${alarmType}
169
170 **Email**
171
172 **Subjtct:**${alarmOriginatorName} ${alarmType}
173
174
175 **Message:**Hi ${recipientFirstName:capitalize} ${recipientLastName:lowerCase}
176
177 The ${alarmOriginatorName} alarmed ${alarmType} ,PLZ check
178 )))
179
180 [[image:1763705354353-222.png||height="719" width="1012"]]
181
182 [[image:1763705373057-540.png||height="719" width="1012"]]
183
184
185 ----
186
187 == 4.3 配置Notification Rules ==
188
189 [[image:1763705587312-647.png||height="719" width="1012"]]
190
191 [[image:1763706113413-196.png||height="721" width="1015"]]
192
193 [[image:1763706072650-624.png||height="722" width="1016"]]
194
195 [[image:1763706241273-512.png||height="722" width="1016"]]
196
197 [[image:1763707736962-945.png||height="723" width="1017"]]
198
199
200
201
202 = 附加章节: =
203
204 = 5. 我想发送邮件给特定收件人怎么办? =
205
206
207
208
209
210 = 6. 如何为每种设备单独设置一页以便管理 =
211
212
213
214