为Azure警报配置电子邮件模板 [英] Configure Email Template for Azure Alerts
本文介绍了为Azure警报配置电子邮件模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法,我可以为Azure警报配置电子邮件模板.我已经为指标创建了电子邮件警报,当指标值超过阈值时,我需要发送自定义电子邮件.
Is there a way, I can configure the email template for Azure alerts. I have created an email alert for a metric and I need to send a custom email when the metric value cross the threshold.
推荐答案
无法自定义Azure警报的电子邮件模板.解决方法是,可以在Azure Alert上配置一个Webhook,以便可以使用自定义代码处理警报信号.
There is no way to customize the email template for Azure alerts. As a workaround, you can configure a webhook on Azure Alert so that you can process the alert signal with your custom code.
https://docs.microsoft.com/zh-CN/azure/monitoring-and-diagnostics/insights-webhooks-alerts
这篇关于为Azure警报配置电子邮件模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文