Is it possible to use the Opsgenie integration with Azure to trigger an Azure vm restart when Opsgenie receives an alert from Prometheus. If so, is there any documentation to support the setup process?
Hi Jerald,
I don't think there is be an out of the box action to trigger a VM restart.
But if your alert contains the right data you could extract it and use Azure's REST API to perform the restart.
You will need the subscriptionID, resourceGroupName and vmName. And of course the authentication details.
That's what I would give a chance but I don't have an environment to try it out myself at the moment.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.