IoT Platform Enterprise Edition instances support resource usage alerts. You can add alert rules for instance metrics so that the system notifies a specified alert group when a rule is triggered.
Prerequisites
Create an alert rule
-
Log on to the IoT Platform console. In the upper-left corner of the page, select the region where your instance is located.
-
On the Instance Overview tab, click the target instance card.
-
On the Instance Details page, click the Alert Rules tab.
-
Click Create Alert Rule.
-
In the Create Alert Rule panel, set the parameters for the alert rule, and click Next.
Parameter
Description
Metric
Select the metric to monitor. Available options:
-
online devices
-
upstream and downstream message TPS
-
message forwarding TPS
-
time-series data storage read IOPS
-
time-series data storage write IOPS
-
time-series data storage space
-
data processing unit
-
offline data storage space
Rule name
Enter a name for the rule.
Statistical fields
Select Count.
Operator
Select an operator. Available options:
-
>=, >, <=, <, or !=.
-
Day-on-day increase or decrease (%).
-
Week-on-week increase or decrease (%).
-
Period-over-period increase or decrease (%).
Threshold
Specify an alert threshold.
Evaluation periods
The number of consecutive periods for which the metric must meet the threshold condition. Options: 1, 3, 5, and 10.
Period
The interval at which the metric is evaluated. Options: 1 minute and 5 minutes.
For example, if you set the Period to 1 minute, the Threshold to >50, and the Evaluation periods to 3, an alert is triggered if the number of online devices exceeds 50 for three consecutive minutes.
-
-
Configure alert notifications and click Confirm.
Parameter
Description
Effective period
The time range during which the alert rule takes effect.
Alert silence cycle
The interval between repeated notifications while an alert condition persists.
Alert group
Select an alert group.
You can also click Quick Create Alert Group to create one. For more information, see Configure alert contacts.
Alert severity
-
Phone + SMS + Email + DingTalk Bot (Critical)
-
SMS + Email + DingTalk Bot (Warning)
-
Email + DingTalk Bot (Info)
ImportantIf you select a notification method that includes phone calls or SMS messages, ensure that you have a sufficient quota for these services in CloudMonitor. You can hover over the help icon
next to Alert Severity and click View Quota. -
Result
After the configuration is complete, the new alert rule appears on the Alert Rules tab.
In the alert rules list, find the target rule and click Edit in the Actions column to modify it.
Click Delete in the Actions column to remove an alert rule.
View alert history
Above the alert rules list, click View Alert History to open the Alert History page in the CloudMonitor console. You can filter alert history by rule name and cloud service.
For more information, see View historical alerts.
Related documents
-
View instance runtime data: View real-time data about your instance, such as time-series data storage IOPS, the number of online devices,.
-
Upgrade a new-version public instance to an Enterprise Edition instance or upgrade an Enterprise Edition instance: If the current instance specifications, such as upstream and downstream message TPS or message forwarding TPS, do not meet your business requirements, you can upgrade the instance.
-
Real-time monitoring: You can configure CloudMonitor alert rules, and set threshold-based or event-based alert rules to monitor device data and network status on IoT Platform.