如果任何磁盘低于20000MB,则生成警报 [英] Generate an Alert if any disk falls below 20000MB

查看:126
本文介绍了如果任何磁盘低于20000MB,则生成警报的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有200多台服务器,OMS代理发送数据。 我希望生成一封电子邮件,如果其中任何一个在C:驱动器上的内容少于20000MB。


我设置了一个包含我的电子邮件地址的操作组,并且我成功收到了" ;您在xxxx行动小组中电子邮件。 


我尝试进入OMS并创建查询:


Perf

解决方案

AFAIK,目前计划为将来的版本支持自定义Azure警报的电子邮件模板 - ref

here


作为解决方法是,您可以在Azure Alert上配置webhook,以便使用自定义代码处理警报信号。



https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/insights-webhooks-alerts


我还建议 upvoting
功能请求
,因此负责的工程团队可以相应地确定优先顺序。


干杯。


I have 200+ servers with the OMS agent sending data.  I would like to generate an email if any one of them has less than 20000MB on the C: drive.

I set up an action group with my email address, and I successfully receive the "You are in the xxxx Action Group" email. 

I have tried going into OMS and creating an Query:

Perf

解决方案

AFAIK, support for customizing the email template for Azure alerts is currently planned for future release - ref here

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/en-us/azure/monitoring-and-diagnostics/insights-webhooks-alerts

I also recommend upvoting the feature request mentioned above so the responsible engineering team can prioritize accordingly.

Cheers.


这篇关于如果任何磁盘低于20000MB,则生成警报的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆