本文介绍了Azure Web应用程序监视警报不会触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经配置了Azure Web应用程序监视规则,以便如果在五分钟内有30个以上的请求,则将触发警报,该警报应同时向我发送电子邮件并触发Webhook.

I have configured an Azure Web Application Monitoring rule such that if there are more than 30 requests over a five minute period, then an alert should fire which should both send me an email and trigger a webhook.

问题是,即使明确满足警报的参数,警报也不会触发.在五分钟内向服务器发出30多个请求后,我获得了流量图的屏幕截图.我还包括了此警报的特定配置菜单.

Problem is, the alert doesn't fire even when the parameters for the alert are clearly satisfied. I took a screenshot of the traffic graph after I made over 30 requests to the server within a five-minute window. I've also included the specific configuration menus for this alert.

如何触发此警报?

推荐答案

我检查了我的一个警报,将其类似的警报时间设置为5分钟的阈值,如果发现响应,我会发现这些警报已被触发发出请求的时间超过了特定时间(12MS),并且如果该请求发生了5分钟,则需要发送电子邮件.我已附上快照,以了解何时发生这种情况-帮助您理解to measure if the requests were greater than 30 at say 12:00PM - until 12:05 PM - (ie) for a period of 5 mins, your alert would fire-如果没有,那么您可能需要检查其他内容.

I checked one of my alerts a similar one that was set to a threshold of 5 mins for response time, I find that these alerts were fired , if my response time for a give requests exceed a certain time (12MS) and that if it had happened for a period of 5 minutes, email needs to be sent. I have attached a snapshot as to when this happened to help understand what this might be - so in your case , to measure if the requests were greater than 30 at say 12:00PM - until 12:05 PM - (ie) for a period of 5 mins, your alert would fire - if it did not, then you may need to check something else.

所以我的猜测是,如果在5分钟的时间内有一条大于30的直线,这意味着如果连续5分钟您的请求大于30,则您的警报将会并且应该起作用.

So my guess here is that if there was a flat line @ more than 30 for a period of 5 mins - meaning if you had requests greater than 30 for a continuous period of of 5 mins, your alert would and should work.

这篇关于Azure Web应用程序监视警报不会触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-06 00:16