This post demonstrates how to create proactive alerts and notifications for DELL EMC ViPR within VMware vR Ops, and also how to link associated resolutions to the VMware vRA service catalog.
DELL EMC ViPR provides a Management Pack for VMware vRealize Operations Manager (vR Ops). Through this MP, ViPR inventory, metering, and event data is imported into vR Ops and displayed through pre-configured dashboards that show collections of volume, storage port, storage system, and virtual pool data. vR Ops uses the data to compute key resource status scores. Resource details, individual metrics, and EMC ViPR event alerts are also presented in dashboard views. This is covered in more detail here.
Above is an example of one of the dashboards, ViPR - Capacity, available with the ViPR MP, but what this MP also allows us to do in vR Ops is to create alert definitions based on objects that the ViPR MP proactively monitors.
The first step is to navigate in the vR Ops UI to Content > Alert Definitions, click the Green + icon to create a new Alert Definition
This brings us to the vR Ops Alert Definition Workspace, from where we can customise our Alert to suit our requirements. The vR Ops UI provides an easy to use wizard to guide the user through the creation of an Alert Definition, walking the user through the various properties required, as displayed below:
Enter an appropriate Name and Description for the Alert. For example if we are creating an Alert for the Capacity remaining on a ViPR volume, then we can call it "ViPR Volume Capacity Remaining Low".
For the Base Object Type, we can drill down into the EMC ViPR Adapter, and from the available objects, we can select "Volume"
For the Alert Impact, we can set the following:
- Impact: Risk
- Criticality: Symptom Based
- Alert Type and Subtype: Storage Capacity
Scroll through the Symptom Definitions, select the appropriate line item, before dragging it over to the Symptoms box on the lower right-hand panel.
With the symptom definitions complete, we can then move onto inserting some of our own Recommendations in terms of resolving the ViPR issue that is being reported. Click the Green + icon
In the text field, simply enter the detail around the suggested recommendation, as shown above. Note: This is an example only, and not an official resolution
For extra bonus points, for the Enterprise Hybrid Cloud solution, we can also link this recommendation to the vRA portal, and point the user the EHC Storage-as-a-Service catalog item. This can be done by highlighting some of the text, click the Hyperlink icon above the textfield, and enter the appropriate URL (e.g. https://<vRAvipFQDN>/vcac/org/<tenantName>/) as shown below:
Once the hyperlink is complete and you are happy with the content of the recommendation, click Save.
From the list of available Recommendations on the left side of the screen, filter for or scroll through the list to find the Recommendation that you just created, and drag it into the Recommendations field on the right side of the screen, as shown below:
On clicking this hyperlink, the user, if entitled to EHC STaaS operations (e.g. the vR Ops user would also have EHC STaaS privileges), would immediately be routed to the EHC portal, from where they could provision additional storage, as shown below:
More information on EHC Storage as a Service can be found here.
Once we have the Alert Definition(s) in place, the final step is to configure the notifications for those alerts.
Back in the main Content section of the vR Ops UI, navigate to Notifications, and click the Green + icon.
We are presented with an Add Rule window within which we can enter a suitable name for the notification e.g. ViPR Volume Capacity Remaining Low, select the notification method using either of the Rest Notification or Standard Email plugins, and of course the Recipients of the Notification.
In the Filtering Criteria section, select Object Type and drill down into the ViPR Adapter object tree to select Volume.
For Notification Trigger, select Alert Definition, filter by 'vipr' and select the Alert Definition that was created previously e.g. ViPR Volume Capacity Remaining Low.
Happy with everything? Click Save. You're done.
I hope that this quick example helps. The EHC solution supports many vR Ops Management Packs (e.g. vRA, NSX, ViPR, ESA:Avamar, ESA:RP4VM, VCE, vCloud Air, etc, more covered here) which provide us with the ability to create custom alerts and notifications across the entire Hybrid Cloud solution.
More vR Ops Alerting resources:
Official VMware documentation here