Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question/Feedback]: Exclude some resources from being monitored #127

Closed
1 task done
MohmadEh opened this issue Feb 22, 2024 · 3 comments · Fixed by #143
Closed
1 task done

[Question/Feedback]: Exclude some resources from being monitored #127

MohmadEh opened this issue Feb 22, 2024 · 3 comments · Fixed by #143
Assignees
Labels
Pattern: ALZ 🚁 Issues / PR's related to the ALZ Pattern question Further information is requested

Comments

@MohmadEh
Copy link

MohmadEh commented Feb 22, 2024

Check for previous/existing GitHub issues

  • I have checked for previous/existing GitHub issues

Description

I have a customer requirement where several VMS are being deployed but not all VMs require Alerting. This normally is the case with Devops Runners that switch off regularly everyday at a certain period of time. Once this event happens a heartbeat alert will be fired which is not required on those VMs.
For more clarity, Consider the following example:

there are 3 Vms, 2 Vms require the alerting but the third Vm needs to be excluded.

I also looked into the Monitor Disable parameter in the Json however, this might have some limitation:

  1. the parameter is targeting scopes meaning all VMs will be affected and in my case i only want some VMs to have alerting disabled.
  2. In the Json itself, the Monitor Disabled isn't included within the VMs alerting
@MohmadEh MohmadEh added the question Further information is requested label Feb 22, 2024
@Brunoga-MS
Copy link
Contributor

Hello @MohmadEh ,
thanks for your feedback. Unfortunately, alerts cannot be disabled for a single instance or resource when targeted a bigger scopes like Subscription or resource group or LAW. What you could do in these cases is:

  • filter the resource in the query (not possible in AMBA)
  • add the resource Id of the given resource to a suppression alert processing rule

In the first case, you will not get any alert. In the latter, alert will appear in the but will not be notified.

Thanks,
Bruno.

@Brunoga-MS Brunoga-MS self-assigned this Feb 23, 2024
@Brunoga-MS Brunoga-MS changed the title [Question/Feedback]: [Question/Feedback]: Exclude some resources from being monitored Feb 23, 2024
@Brunoga-MS
Copy link
Contributor

Hello @MohmadEh ,
any news about this one?

@Brunoga-MS
Copy link
Contributor

Hello @MohmadEh ,
given your feedback through IM, I will close this one as well, since you can apply the same solution proposed for [Question/Feedback]: Monitor Disable Parameter #131.

Thanks,
Bruno.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pattern: ALZ 🚁 Issues / PR's related to the ALZ Pattern question Further information is requested
Projects
None yet
2 participants