资源 (Azure Logic App) 上的 Azure 警报仅被触发一次

时间:2021-01-08 03:32:56

标签: azure azure-logic-apps azure-alerts azure-metrics-advisor

我有一个 Azure 逻辑应用每 3 分钟运行一次。我每次都故意让逻辑应用失败,以测试警报功能。

所创建提醒的状态为已启用

The condition is Whenever the count of runs failed is greater than or equal to 1
Threshold: Static
Operator: Greater than or equal to
Aggregation Type: Count
Threshold value: 1
Unit: Count
Aggregation granularity (Period): 1 minute
Frequency of evaluation: Every 1 minute

尽管逻辑应用每 3 分钟运行一次并且失败,但在过去 1.5 小时内,我只收到一封邮件您的 Azure Monitor 警报已触发。我什至将邮件中的更改警报状态刀片更改为已关闭

在第一封邮件后未触发警报。

我们将不胜感激任何帮助。

非常感谢!

1 个答案:

答案 0 :(得分:1)

请看看这个documententer image description here

上面的文档是针对虚拟机的,但是和我们的情况是一样的。当您的逻辑应用失败并触发警报时,您需要等待几分钟,它会发送另一封电子邮件通知您 azure 监视器警报已解决。之后,可以触发下一个警报并正常向您发送警报电子邮件。