Skip to main content
To experience Monitors features, there are three core steps:
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.
Engine Cluster Name is very important: monitedge instances with the same name form a cluster, sharing the workload of processing alert rules to avoid single points of failure.
  • Single cluster: Keep the default default
  • Multiple clusters (e.g., one in US-East datacenter, one in South China datacenter): Specify different names for each cluster
Alert engine installation

Alert Engine Status

After monitedge 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 data source

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

Basic configuration

Data Source Selection

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 with db-. 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.
Both methods can be used together, and at least one must be specified. The rule applies to all data sources matched by either method.
If you need stable rule bindings that are unaffected by data source renames, prefer exact match. See Data Source Management for details.

Query Detection Method

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

Detection frequency & effective time
Timezone rules:
  • Rule Timezone only accepts IANA timezone names. Shortcuts and offsets such as Local, UTC+8, CST, or GMT+8 are rejected.
  • cron expressions must not start with CRON_TZ= or TZ=. If you are migrating from an open-source cron system that embeds the timezone in the cron string (for example, CRON_TZ=Asia/Shanghai 0 0 * * *), remove the prefix and set the timezone in Rule Timezone instead.
cron expression format rules:
  • cron expressions must be 6-field second-level expressions, in the order seconds, minutes, hours, day of month, month, day of week. 5-field forms (for example */5 * * * *) are rejected; add the seconds field (for example 0 */5 * * * *).
  • The @every shorthand is supported, for example @every 30s for a check every 30 seconds. The duration must be a whole number of seconds of at least 1 second; combined durations such as @every 1m30s are accepted, while @every 0s, @every 1500ms, or any sub-second or non-whole-second value is rejected.
  • The detection frequency is validated when editing an existing rule as well; historically saved invalid expressions must be fixed before the rule can be saved.
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 to Triggered. Alert rules list page
The search box in the alert rules list supports filtering by rule name, rule ID, or labels for quick navigation. You can also use the URL parameter ?rule_id=<ID> to jump directly to a specific rule.
Click Triggered to see the alert events generated by this rule (also viewable in On-call): Alert events list 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 → Import

Import 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. Import alert rules
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.json file
  • Copy: Copy the JSON content to the clipboard
The exported JSON can be used for backup or imported into other environments via the JSON import mode.

Rule change history

Every alert rule has a complete change audit trail. You can view the Change History in the rule details to understand the historical modifications.

View change history

The change history list shows the following information for each operation:

Version comparison

Select two records in the change history list and click the Compare button. The system displays the differences between the two versions in JSON diff format, helping you quickly understand which configuration items were modified.