Step by Step how to copy & paste widgets in vRealize Operations Manager 8.0

Have you ever seen widgets from different dashboards you wanted to combine into a new custom dashboard?  Do you also not want to waste time recreating the wheel?  If the answers to these questions are yes then here is a step by step cheat I use leveraging copy/paste of widgets to generate quick custom dashboards.

My example:
i want to take a vCenter view of my environment and see all the VM CPU > 80% metric for any of my vCenters in a particular location.

Step by step of copy and paste

First let’s go to dashboards create new dashboards.  Then let’s give it a name.  My example is Test ____

New vROps custom dashboard before widgets are copied into its canvas.

Now open a second tab and go to the first dashboard you want to copy from.  My example is using a select an environment widget I like to use to either select via vSphere World, vCenter or Host & Cluster.  For this example it will be the vCenter level.

vROps All Dashboards menu with Create Dashboard available for the new custom dashboard.

First go to Edit Dashboard

vROps Select an Environment widget listing vSphere World, vCenter, cluster, host, and virtual machine objects.

Select the widget so in my case the select an environment

vROps source dashboard Actions menu with Copy Widget selected for the environment widget.

Then select Copy Widget(s)

Return to the other tab with the new dashboard

vROps target dashboard Actions menu with Paste Widget selected.

Select paste widget

Congratulations you have successfully copied and pasted a widget from an existing dashboard into your custom.  I could stop the blog article here but let’s go a little further and have some fun.

Rinse and repeat a metric you want from a completely different existing dashboard.

vROps All Dashboards menu with Edit Dashboard selected for the second source dashboard.

Once again go to edit the dashboard with the widget you want

vROps VM CPU Demand widget configuration showing Self Provider enabled.

The widget I want to copy and paste is for VM CPU Demand > 80% and it is a Self-Provider – this is important to remember

VM CPU Demand widget showing vSphere World as its current data source.

Also note that it is collecting against the vSphere World by default

vROps dashboard Actions menu with Copy Widget selected for the VM CPU Demand widget.

Select the widget click Copy Widget(s)

Now return to the new dashboard and click paste

vROps dashboard Actions menu with Paste Widget selected for the copied CPU widget.
vROps dashboard showing the pasted Select an Environment widget alongside the CPU demand widget.

Paste

Since the VM CPU widget was pulling from vSphere World it is already reporting data even if you click on different vCenter(s).

This may present a problem if you are wanting to toggle between vCenters

vROps custom dashboard with the pasted CPU demand widget before interactions are configured.

Click on show interactions

vROps dashboard showing the Select an Environment and VM CPU Demand widgets before correcting their interaction.

Lets change this real quick

vROps dashboard interaction view showing the environment selector linked to the CPU demand widget.

Much better but still not done yet.

Let’s go back to the VM CPU widget and select the pencil to edit

vROps configuration page for the VM CPU Demand greater than 80 percent widget.

Let’s change Self Provider from on to off

vROps widget configuration with Self Provider turned off so another widget can provide its input.

Save

vROps dashboard with Select an Environment controlling the CPU demand widget after configuration is saved.

Save

Now you should be able to toggle between your vCenters and see the different list of VMs with CPU higher than 80%.  We have successfully taken two widgets from existing dashboards and had them interact to report the desired metric. 

Summary:
I find creating custom dashboards can sometimes be a pain, especially, when the widgets you want are already in existing dashboards.  The copy and paste feature with some mild tweaking of the metrics allows for much faster dashboard creations.  In addition, it is not that difficult to take 2/3rds of the widgets you need and copy and paste and then create the custom widgets.  This helps speed up the process I find.  I hope y’all found this article useful.

Leave a Reply

Discover more from Digital Thought Disruption

Subscribe now to keep reading and get access to the full archive.

Continue reading