Giter Site home page Giter Site logo

Comments (8)

alurbina avatar alurbina commented on May 17, 2024

Hello,

Can we verify if the VM has any associated alerts? If so, can we delete / disable them? If this does not work, can you share with us more details of the VM?

from startstopv2-deployments.

KerryRJ avatar KerryRJ commented on May 17, 2024

The VM is a Standard D2ds v5 (2 vcpus, 8 GiB memory) created via AVD.

verify if the VM has any associated alerts

Where do I find these VM associated alerts?

I eventually deleted and recreated the VMs automation group, and haven't yet configured auto stop. Knowing where and what to look for reguarding the associated alerts would be handy.

from startstopv2-deployments.

balas77 avatar balas77 commented on May 17, 2024

To verify the VM alerts: Navigate to your VM in the Azure portal --> click Alerts (under Monitoring tab) --> click Alert Rules. Make sure you select the filter as enabled. Once you find the alert, then either you can disable or delete it.

image

image

image

from startstopv2-deployments.

KerryRJ avatar KerryRJ commented on May 17, 2024

That was really helpful. The auto stop alert was still there and enabled after I had deleted the start stop resource group. It is also did not seem to have updated or disabled even though I had tried disabling the auto stop logic app. Is this by design?

from startstopv2-deployments.

balas77 avatar balas77 commented on May 17, 2024

Yes by design the alert will be created on your VMs which is outside of the Start/Stop resource group so even if you delete the Start/Stop RG, this will not going to delete the alert which is part of your VM resource.

Also disabling/deleting the logic app is not going to take any effect to delete the alert as the logic app is just an orchestrator to call the function app which is responsible to create the alert based on the payload you have configured. So if you want to disable the alert then you can add the VM in the payload exclude list (refer our doc here for sample exclude list) in the logic app.

from startstopv2-deployments.

KerryRJ avatar KerryRJ commented on May 17, 2024

If configuration in the Logic App is modified, are any settings there carried over to the alert rule?

from startstopv2-deployments.

balas77 avatar balas77 commented on May 17, 2024

Yes new alert will be created on the VM (old alert will be deleted) whenever the logic app runs so if you change the value of any property (say AutoStop_Threshold : 10) in the auto stop payload then new alert will be created based on the updated value.

from startstopv2-deployments.

KerryRJ avatar KerryRJ commented on May 17, 2024

The alert that I just deleted still had the original values from first configuration. Subsequent changes in the logic app never seemed to have been applied to the rule.

I am closing this issue but will keep an eye out when I configure and enable the new auto stop functionality and verify if it is indeed updating.

Thank for your assistance.

from startstopv2-deployments.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.