There should be a maintenance mode feature in for planned downtime in alerts
We have 8 web tests under one App Insight workspace to monitor the availability of our service. Now we have to do planned maintenance which will affect all these 8 web tests. Since there is no quick option available on App Insight to put entire workspace on maintenance mode we have to individually click on "Disable Webtest" button for each web tests before beginning the maintenance and then post maintenacen activities we have to again click on "Enable Webtest" button for each of these 8 webtests which is not efficient.
Can we please get "Maintenance mode" feature in App Insight exactly the way SCOM supports it? This way App Insight will not send any alert emails to operations team during the planned maintenance window and we don't have to individually disable the web tests during that time window.
Suppression of alerts during maintenance now available in Azure Monitor, as part of Action Rules (preview): https://docs.microsoft.com/azure/azure-monitor/platform/alerts-action-rules
Bhavesh Parmar commented
Option should be made available to allow to not generate or send email alerts between specific time, which should be configurable item and allowing to set multiple time slots to not generate or send email
Bhavesh Parmar commented
Option to set entire monitoring in maintenance mode or allow schedule within specific resource group will help to stop alerts being generated while carrying out deployment activities or during maintenance windows
Petr Hecko commented
Upvote, would be great feature, that's a common feature for other alerting platforms, so would be great if azure supports this as well.
Upvote. We have services that recycle daily. Would improve the alerting signal to noise ratio if we could either select hours of coverage or insert a maint window. "Do not alert from A to B."
Currently you can write custom time frames with custom Kusto queries, this works fine.
But for Application insights, a "blackout" window or "suppression" action group has to be configured. It works fine for one of suppressions, but doesn't appear to work for re-occurring suppressions. Action groups are in preview, so that's understandable.
It would make it easy if there was an outage "schedule" that could be defined, and specific alerts be associated with it.
Not for security alerts, but all the other monitoring (custom queries, metrics and insights).
any update from MS on that?!
This is similar to what I need as well, we have times that our service is not running and doesn't need monitoring. Has there been a solution yet to this?
Marcin Mielcarek commented
Maybe it would be good idea to have a simple [on]/[off for *** minutes] button, where all suppressed alerts will be automatically enabled after *** minutes.
Alan Kent commented
"globally disable alerts when doing system maintenance and planned downtime"
something like the scom maintenance mode scheduler perhaps?
or a exclude time calendar attached to each alert rule.
perhaps with pre-defined times
exclude weekends,. etc and make those user customizable.
Daniel Björk commented
Could Admin tell more about the "global maintenance window"? Where can we find mre information?
sathyan narasingh commented
any update on this?
Brian Schaap commented
I'd like to request a maintenance mode feature for PaaS resources as well so their alerts can be stopped too.
We configure our alerts against metrics not queries and via this method there is no way to silent alerts during nightly jobs. Please introduce a way to exclude time periods.
David Schlum commented
Any update on this feature?
We have a client that uses a SaaS application that has an outage for maintenance at the same time and day every week. We are getting outage alerts during this time even though it's a planned outage.
We'd like to be able to configure "Planned outage windows" where Application Insights either doesn't test the application or it simply doesn't consider it an outage alert. In effect, under the application, I would love to see a "Planned outages" category where I could add one-off or recurring planned outage schedules that could be potentially shared across applications too. There should be an option under that to apply the planned outage to all tests or only selected tests. Additionally, it should have the option to suppress alerts during planned outages or not. In the graphs, I would like to see a differentiation between tests that were showing down during a non-planned outage time and when they were showing down during an outage. I'm thinking something as simply as using orange dots to show web tests that failed during a Planned Outage and red dots for web tests that failed outside a Planned Outage. Similarly, it would be extremely nice to also be able to determine, in the Planned Outage setup, if failed tests during the Planned Outage effect the Availability Percentages displayed. For most people, the SLA percentages are calculated based on "unplanned outages".
I think with the addition of Planned Outages as a first class citizen in Application insights, it could be exposed in many more places so that technicians troubleshooting "problems" in an application could immediately see if whatever they are viewing occurred during a "Planned Outage". In many cases, this would have saved me minutes or hours of troubleshooting when I ended up finally tracking down that something was broken because updates were happening elsewhere in the application dependency chain and not because of something actually being broken.
Azure Monitor Maintenance Window
A feature to stop alerts during a maintenance windows for example Windows Patching etc.
Big Lou commented
This would be excellent if it could be implemented. We have daily and weekly service windows and it would be nice to exclude those timeframes from alerts, e.g., database maintenance plans run from 2-4AM EST daily.
Chris Beers commented
Any update on this? We have the same need for one of our sites. One of our sites is not 24x7 and is not available from 12 AM to 4 AM. It would be great to add a scheduling feature to be able to enable/disable web tests depending on the schedule and thus maintenance windows.
With the new query language you can filter. For instance events that occur between 7am and 7pm:
Event | where TimeGenerated >= ago(24h) | extend TimeStart = startofday(TimeGenerated)+7h| extend TimeEnd = startofday(TimeGenerated)+19h| where TimeGenerated between (TimeStart..TimeEnd) | where <your filter here
(p.s. i am just another user, not a MS developer)
Jake Edwards commented
We have a nightly maintenance window that triggers an alert. If the alert came at any other time, we'd want to know about it, but this particular alert will always trigger nightly if it's not suppressed somehow.
If there were enough date functions I could use my Log Search to Exclude the "hour" of maintenance period... otherwise, an alert-level "quiet" window would be good.
Ron Savoia commented
We would like the ability to exclude time frames from alert management as there could be system downtimes due to maintenance that are throwing alerts that are false positive. Either allow the ability to exclude date/time ranges or globally disable alerts when doing system maintenance and planned downtime