Enterprise Edition instances of IoT Platform provide an alert feature for resource usage. You can monitor instance resources as metrics and configure alert rules based on your business needs. When a rule is triggered, the system sends a notification to a specified alert group.
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 a metric to monitor. The following options are available:
-
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. 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 evaluation periods for which the metric must meet the threshold condition. Options: 1, 3, 5, and 10.
Period
The time interval over 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 is active.
Alert silence cycle
The interval for resending notifications if an alert condition persists.
Alert group
Select the alert group.
You can click Quick Create Alert Group to add an alert group. 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 you complete the configuration, the new alert rule is displayed on the Alert Rules tab.
In the list of alert rules, find the desired 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 list of alert rules, click View Alert History to open the Alert History page of the CloudMonitor console. On this page, you can view the 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, and the number of OTA updates.
-
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, configure one-click alerts or alert subscriptions, and set threshold-based or event-based alert rules to monitor device data and network status on IoT Platform.
-
Customize metrics for monitoring: You can customize metrics to configure alert rules and monitor real-time operational data for device connections, message forwarding, Thing Specification Language (TSL) communication, data forwarding to other cloud services, and OTA updates.