vROps Alerts and Automated Actions

Well if you ever wanted a vROPs to remediate an existing Alert but performing a set of automated actions then this is the post to follow. With vROPs we now have the ability to execute a certain action whenever an alert is generated.

This is easily configurable using vROPs recommendations and tagging those to a specific alert definition.

In this post, We’ll explore IDLE VM deletion, but this same idea applies to any vROps object that has available Actions.

Let’s create an Alert/Symptom/Recommendation combination to automate the deletion of all IDLE VMs. But first, let’s see if we have an Action we can use.

You can see below that we have an action available for Deletion of Idle VM.

Now lets create an Alert for the same.

Go to the Alerts tab and create a new Alert Definition

Enter all the required details and Click Next

Select your Symptom definition (Note: The Screenshot is for illustration purpose. Please configure your own symptoms based on your required criterias)

Click Next

Next is the recommendation page where you will be required to select a recommendation that has been tagged to an automated action.

If you have not created one yet, you can do so by clicking on the Create New Recommendation link.

Associate the recommendation to an Action as shown below.

Click on Create

You can associate the Alert to be enabled in a particular policy and also create Notifications if you want.

Click on Create again to create the alert definition.

Once the Alert definition is created, you need to enable the alert and the automated action in the desired policy.

Go to the Policy menu and edit the policy where you want this alert to be enabled along with the actions.

Search for the Alert, and enable the same as shown below.

The State will enable the Alert and the Automate will enable the automated action.

Click on Save

With this you have created an Alert definition and associated it with a Automated Action.

While there were many actions that could be executed using the built-in VMware vSphere solution, you can also execute custom actions by using the vRealize Operations Management Pack for vRealize Orchestrator.

With this management pack, you can now integrate your own custom vRealize Orchestrator workflows as alert remediation actions. This allows you to configure your vRealize Operations policy to automatically execute the remediation action anytime the alert is generated.

So now basically you can automate to execute any custom action for a particular alert and drive towards achieving a self healing datacenter.

vROPs is revolutionary and its only going to keep achieving new heights !

Happy Learning !

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.