Alert is being suppressed for all servers even only one server is in maintenance

Natalia Efimtceva 21 Reputation points
2022-12-09T11:25:07.54+00:00

Hello dear Azure team,

We faced a business affecting case when critical event alert was suppressed for production servers.

Case description
There is a list of the servers, each server has it’s own maintenance time for example in OOH or for patching.
Alert Processing rules are configured to suppress Alerts generated on these servers during maintenance window by schedule and filter: Alert context (payload) – Contains - “names of the server in maintenance”.
268904-screen1.jpg

The issue
Alert applied to the list of servers are being suppressed for all servers from the list if even one server is in maintenance.
So if similar alert is fired on two servers one of which is in maintenance but second is alive both Alerts are being suppressed.
268954-screen2.jpg

Possible solution we tried
According to https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-processing-rules?tabs=portal filters can be used to exclude needed resources.
268925-screen3.jpg

But even if we put server resource to exclusion, in the scenario described above alert is also suppressed.
268914-screen4.jpg

Could you please kindly assist/advise how resolve the issue or overcome this Alert processing rules limitation?
Thanks.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,670 questions
0 comments No comments
{count} votes

Accepted answer
  1. Stanislav Zhelyazkov 28,676 Reputation points MVP Volunteer Moderator
    2022-12-12T13:20:02.613+00:00

    Hi,
    Best is to check what kind of json payload your alert will generate. If the provided value is matched somewhere in the payload it is expected. It is important that your alert rule fires per resource (computer in your case) otherwise if you have one alert that fires for all computers it is expected that will suppress it.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


1 additional answer

Sort by: Most helpful
  1. Hoekstra Jelle 501 Reputation points
    2022-12-09T12:01:04.29+00:00

    Hi,

    Have you tried the operator "starts with" vs-weu01 or "like" vs-weu01* (if it works) that might change some things around.

    Hope these offer a remedy, elsewise please leave a comment.

    ----------

    If it does help, please do accept the answer.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.