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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.