1
Install monitedge
Deploy the alert engine to your private network
2
Create Data Source
Configure the data sources to monitor
3
Create Alert Rules
Define alert conditions and notification methods
Install monitedge
monitedge needs to be deployed in your private network. It is responsible for syncing alert rules from SaaS, periodically querying data sources, performing threshold evaluation, generating alert events, and pushing them to the SaaS.
Menu Entry: Alert Engine → Engine Installation/Upgrade
Supports Linux, Docker, and Kubernetes installation methods.
Alert Engine Status
Aftermonitedge is installed, it automatically connects to the SaaS and periodically syncs alert rules. You can view current status information on the Alert Engine Status page.
Engine instances without heartbeat for a long time will display a delete button, which you can click to remove and avoid engine disconnection alerts.
Engine Disconnection Alert
monitedge downtime has significant impact, so engine disconnection alerts are provided.
For an engine cluster composed of multiple instances, as long as at least one instance in the cluster is alive, the engine disconnection alert will not trigger.
Create Data Source
Menu Entry: Data Sources → New
Create Alert Rules
Menu Entry: Alert Rules There may be many alert rules. Monitors provides a tree-structured grouping for categorized management. Each alert rule must belong to a group. You can create groups first, then create alert rules under the groups.Basic Configuration
Data Source Selection
First choose a data source type. Only types that already have at least one configured data source are listed here — types with none don’t appear, so you can’t end up picking a type with no data sources to query. When you’re editing an existing rule, its current type always stays visible, even if all the data sources under that type have since been deleted.
If the list is empty (showing “No data sources available”), your account hasn’t configured any data sources yet — click Go to Data Source Management to create one first. If only the selected type has none, the page shows “The current data source type has no available data sources. Create one or switch type.” If the type list fails to load, a Reload button appears.
After choosing a type, Monitors supports a single rule applying to multiple data sources with two binding methods:
- Wildcard by name: Match data sources by name using wildcards.
*matches all data sources;db-*matches all data sources starting withdb-. Stores name strings, so renaming a data source affects matching. - Exact match by ID: Select specific data sources from a dropdown by ID. Unaffected by data source renames.
Query Detection Method
Configure how to query data sources and how to evaluate alert conditions. Please read the usage instructions on the right side of Query Detection Method on the page.
Detection Frequency and Effective Time
Saving a rule also validates its runtime configuration: the repeat notification maximum count (
repeat_total) and repeat interval (repeat_interval), as well as the alerting check times and recovery check times of every check mode (Threshold, Data exists, No data), must all be ≥ 1. A rule that fails validation is not scheduled, and the alert engine reports the failure as an alert-rule-schedule-invalid problem. Fix the rule configuration according to the error message.Event Configuration
The maximum notification count does not represent the number of message reminders end users receive. Because alert events generated by Monitors are delivered to On-call, they may be grouped and noise-reduced; the final send count depends on On-call configuration.
View Results
After configuration is complete, if alert conditions trigger, the status before the alert rule will change toTriggered.
Click Triggered to see the alert events generated by this rule (also viewable in On-call):
Click the alert event title to view details, which are divided into three tabs: Alert Overview, Timeline, and Related Events.
Batch operations
The alert rules list supports multi-select for batch operations, improving rule management efficiency.Batch enable/disable/delete
After selecting multiple rules in the list, you can batch enable, batch disable, or batch delete them in one click.Batch edit fields
After selecting multiple rules, click Batch Update to uniformly modify the following 10 fields:
How to use: In the batch update panel, first select the field to modify, then set the new value, and click OK to apply the change to all selected rules.
Batch move
After selecting multiple rules, you can batch move them to another folder.Import alert rules
Monitors supports three import modes. You can choose the most suitable method based on the source. Menu Entry: Alert Rules → ImportImport from rule repository
Select the Rule Repository mode to import existing rule templates from the rule repository. You need to specify the channel for alert event delivery when importing.Import from JSON
Select the Flashduty Rules JSON mode and paste a JSON array of alert rules. This format is consistent with the JSON produced by the export feature, making it suitable for migrating alert rules across tenants or environments. You need to specify a channel when importing.The JSON content must be in array format (starting with
[), where each element is a complete alert rule definition.Import from Prometheus YAML
Select the Prometheus Rules YAML mode and paste standard Prometheus alert rules YAML content.
Requires standard format with
groups as the root node. YAML indentation must be correct, otherwise import will fail. Each rule must contain alert and expr fields.Import results
If some rules fail to import, the system displays an import results table showing the import status and error message for each rule. When all rules succeed, a success message is displayed directly.Export alert rules
Select the rules to export in the list and click the Export button. The system displays the full configuration of the selected rules in JSON format. You can:- Download: Save the JSON as a
monit.jsonfile - Copy: Copy the JSON content to the clipboard