Whenever my new created VM don't gets added to a Dynamic scope of Maintenance configuration can I get an Alert?

Eric 0 Reputation points
2024-05-13T00:38:57.9166667+00:00

Hi Team,

As automation account -upadate management as a feature of agent and update status we can create an alert of log sreach, but want to understand how can I or Is it possible to creat an Alert for Dynamic scope of Maintenance when a VM is not added automatically to dynamic scope.

I have tried to create an Alert, where I have used Only Maintenance configuration is the scope and in condition in unable which type of signals applies to detect the VM is not added automatically to dynamic scope.

Any suggestion will be helpful.

Azure Update Manager
Azure Update Manager
An Azure service to centrally manages updates and compliance at scale.
317 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mahesh Goud Juvvadi 1,240 Reputation points Microsoft Vendor
    2024-06-14T05:47:28.61+00:00

    Hi Eric,

    Welcome to the Microsoft Q&A forum.

    Yes, we can create an alert If a virtual machine (VM) is not added in the dynamic scope of maintenance configuration.
    you can create an alert by following these steps to address the situation and generate an alert:

    In the Update Manager, enable the "Alerts (Preview)" feature if it is not already activated. This feature is crucial for monitoring and alerting.

    Next, you will need to create a new alert rule within the Update Manager. Start by clicking on the “Alerts” tab, and then select “+ New alert rule” to initiate the creation of a custom alert. This action will open a form where you can specify the details for the alert rule.

    For the signal type, choose “Custom log search,” which allows you to define a query that will check for missing VMs based on your specific criteria.

    Define the severity level of the alert. Set up notification methods, such as email or SMS, and specify the recipients. Review the alert settings and click “Create”.

    Virtual machine alert will be triggered once the VM is reach's the threshold level limit and sends the alerts accordingly.

    Additionally, Refer the link to create alerts:
    https://learn.microsoft.com/en-us/azure/update-manager/manage-alerts?source=recommendations

    We have configured the system to generate alerts for VMs that are not within the dynamic scope of maintenance configuration as shown below:
    User's image If you are still facing the issue, please let us know in the comments. We are happy to help you.

    If you find this response helpful and it resolves your issue, please consider marking it as “Accepted” or giving it an upvote. This will help others in the community find the solution more easily.

    Thank you.

    0 comments No comments

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.