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

Posted by

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 ____

Machine generated alternative text:
vm vReaIize Operations Manager 
Home 
Dashboards 
Alerts 
CANCEL 
Environment 
Administration 
Drag widgets from below to begin 
creating your dashboard 
Q 
c 
Test 
Actions v 
Show Interactions 
SAVE

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.

Machine generated alternative text:
Actions 
All Dashboards v 
Edit Dashboard 
Delete Dashboard 
Remove Dashboard from Menu 
Set as Default 
Set as Home Page 
Create Dashboard 
Manage Dashboards

First go to Edit Dashboard

Machine generated alternative text:
Select an Environment 
v Page Size. 
50 
Total VMs 
Clusters 
Hosts 
Dates to re s 
Running VMs 
1•30i3iterns 
vSphere World 
a bject Ty pe 
vSphere World 
vCenter Server 
vCenter Server

Select the widget so in my case the select an environment

Machine generated alternative text:
Actions 
Show Interactions 
Copy Widget(s) 
Paste Widget(s)

Then select Copy Widget(s)

Return to the other tab with the new dashboard

Machine generated alternative text:
Test 
Actions 
Show Interactions 
CANCEL 
SAVE 
Copy Widget(s) 
Paste Widget(s)

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.

Machine generated alternative text:
Actions v 
All Dashboards v 
Edit Dashboard 
Delete Dashboard 
Remove Dashboard from Menu

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

Machine generated alternative text:
VM CPU Demand 
800/0 
0 011 
(seconds) 
Configur ation 
Refresh Content 
Refresh Interval 
Self Provider 
O 
300 
On

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

Machine generated alternative text:
VM CPU Demand .3 
v I vSphere World

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

Machine generated alternative text:
Actions 
Show Interactions 
Copy Widget(s) 
Paste Widget(s)

Select the widget click Copy Widget(s)

Now return to the new dashboard and click paste

Machine generated alternative text:
Test 
Select an Environment 
Name 
Actions 
Show Interactions 
CANCEL 
Policy 
SAVE 
Copy Widget(s) 
Paste Widget(s)

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

Machine generated alternative text:
Test 
Actions v 
Show Interactions 
CANCEL 
SAVE

Click on show interactions

Machine generated alternative text:
Test 
Object 
Hide Interactions Select Another Dashboard v 
Select an Environment 
VM CPU Demand Rgt; 
View

Lets change this real quick

Machine generated alternative text:
Test 
Object 
Hide Interactions Select Another Dashboard v 
Select an Environment 
Object List 
VM CPU Demand Rgt; 
View 
o

Much better but still not done yet.

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

Machine generated alternative text:
Configure 
Dashboard Configuration 
Select an Environment 
VM CPU Demand 
VM CPU Demand 
800/0 
0 011 
(seconds) 
Configur ation 
Refresh Content 
Refresh Interval 
Self Provider 
Input Data 
Output Data 
O 
300 
On 
CANCEL 
SAVE

Let’s change Self Provider from on to off

Machine generated alternative text:
Configure 
Dashboard Configuration 
Select an Environment 
VM CPU Demand 
VM CPU Demand 800/0 
CANCEL 
Configur ation 
Refresh Content 
Refresh Interval 
Self Provider 
Input Data 
Output Data 
O 
300 
O 
0 011 
(seconds) 
Off 
SAVE

Save

Machine generated alternative text:
Test 
Select an Environment 
Actions v 
Show Interactions 
CANCEL 
SAVE

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