Start Using Monitors¶
A monitor is a custom-configurable automated detection tool defined by users. It collects different types of data in real time, such as infrastructure, application performance, or logs, and triggers alerts and generates detailed event records when preset rules are met.
Quick Creation¶
Generally, the following two creation methods are supported:
- Official Templates: Use built-in monitoring templates to create monitors for HOSTs, Docker, Elasticsearch, Redis, Alibaba Cloud RDS, Alibaba Cloud SLB, Flink, etc., with one click.
- Custom Monitors: Configure more than ten detection rules such as threshold detection and log detection to customize the trigger conditions of monitors, and receive anomaly event alerts after activation.
For more details, refer to Monitors.
Example¶
The following example creates a custom monitor:
- Go to Monitoring > Monitors > Create Monitor;
- Select a detection rule (select threshold monitoring here) and enter the configuration page.
Detection Configuration¶
- Set the detection frequency to "1 minute";
- Select the detection interval as "last 1 minute";
-
Select the detection Metrics, set the query condition here as:
-
Set the trigger condition: when the query result exceeds 95%, an event of "Severe" level will be triggered.
Event Notifications¶
- Enter the event title;
- Define the content of the event notification.
Alert Configuration¶
Choose whether to associate an alert strategy. After the monitor meets the trigger conditions, send an alert message immediately to the specified Notification Targets.
In this example, no alert strategy is selected.
Association¶
Associate the monitor with dashboards for quick navigation and visualized viewing of related data.
In this example, no association is selected.
Permissions¶
After setting operation permissions for the monitor, ensure that different users perform operations consistent with their roles and permission levels.
In this example, no permission settings are configured.
View Monitors¶
After creating detection rules, you can view these rules in the monitor list. Subsequently, all abnormal events triggered by these rules will be displayed in the Event Center.