Alert rule execution is not as expected, how to debug?
Alert rule execution is not as expected, how to debug?
On the alert rules list page, there is a Debug Log Switch that you can enable. Afterwards, the alert engine process
monitedge will output detailed execution logs for that rule, making it easier to troubleshoot.monitedge outputs logs to standard output (stdout). The viewing method depends on the deployment method:monitedge does not write logs to a separate log file. Read them with the commands above, or collect them with your log collection system.What information does the overview dashboard display?
What information does the overview dashboard display?
Menu Entry: OverviewThe overview page provides a global view of alert rules, consisting of the following cards:
How do I quickly clone an alert rule?
How do I quickly clone an alert rule?
In the alert rules list, choose Clone in the
⋮ menu at the end of the rule’s row. Clicking it creates a new rule based on the current rule’s configuration, with all settings copied over (except the name), making it easy to quickly create similar alert rules.How do I preview query results for an alert rule?
How do I preview query results for an alert rule?
When creating or editing an alert rule, after configuring the query conditions, you can click the Query Preview button. The system runs the query immediately and shows the results. You can check whether the expression is correct and the data meets expectations without waiting for the next detection cycle.If the preview fails, common causes are:
What format does the alert rule notes description support?
What format does the alert rule notes description support?
The notes description supports Markdown format. You can use headings, lists, links, code blocks, and other Markdown syntax to organize content. It also supports variable references, which embed dynamic values such as alert event labels and query results into the notes. Responders can understand the alert context quickly.
How do I show values at recovery time in recovery notifications?
How do I show values at recovery time in recovery notifications?
Recovery notifications render the description again. Use
{{ if eq $status "recovered" }} in the template to tell recovery notifications apart.- Threshold evaluation: with Recovery when no thresholds are triggered or Recovery only when conditions are met,
$valuesholds the values at recovery time. - Data exists: with Recover if no data, the query finds no data at recovery, so
$valuesholds the values from the most recent notification. To show values at recovery time, use a related query.