VMware Cloud Community
iHumster
Enthusiast
Enthusiast
Jump to solution

Dashboard View to View widget interactions problem

Hello.

I try to create custom dashboard in vROps 6.7. I created two views - with Datastores Object Type and Virtual Machines Object Type. When I add both Views to dashboard and select Datastore -> VMs interaction, after selecting any object in Datastore view - VMs view show message "The view cannot be rendered for the specified Object". But when I make VMs view "Self Provided" widget and select the datastore object from "vSphere Storage" Group - view show VMs on this datastore correctly.

How I can this interaction correctly?

1 Solution

Accepted Solutions
RickVerstegen
Expert
Expert
Jump to solution

You need to create 2 object list widgets, 1 with datastore object type and 1 with virtual machine object type.

On the virtual machine object list it is important to set mode to Parent. After both object list have be done, you need to setup the interaction.

pastedImage_0.png

Then you are able to select a datastore and it will show up the virtual machines residing on that selected datastore in your dashboard.

Please consider marking this answer as "correct" or "helpful" if you think your questions have been answered.

Was I helpful? Give a kudo for appreciation!
Blog: https://rickverstegen84.wordpress.com/
Twitter: https://twitter.com/verstegenrick

View solution in original post

Reply
0 Kudos
15 Replies
RickVerstegen
Expert
Expert
Jump to solution

Hi iHumster

It is not entirely clear to me. You want to see which virtual machines residing on the datastore, which you select. Is that right?

Rick

Was I helpful? Give a kudo for appreciation!
Blog: https://rickverstegen84.wordpress.com/
Twitter: https://twitter.com/verstegenrick
Reply
0 Kudos
iHumster
Enthusiast
Enthusiast
Jump to solution

RickVerstegen

Yes, you right.

Reply
0 Kudos
RickVerstegen
Expert
Expert
Jump to solution

You need to create 2 object list widgets, 1 with datastore object type and 1 with virtual machine object type.

On the virtual machine object list it is important to set mode to Parent. After both object list have be done, you need to setup the interaction.

pastedImage_0.png

Then you are able to select a datastore and it will show up the virtual machines residing on that selected datastore in your dashboard.

Please consider marking this answer as "correct" or "helpful" if you think your questions have been answered.

Was I helpful? Give a kudo for appreciation!
Blog: https://rickverstegen84.wordpress.com/
Twitter: https://twitter.com/verstegenrick
Reply
0 Kudos
iHumster
Enthusiast
Enthusiast
Jump to solution

But I need custom view for both Object Type (with set of Metrics)... :smileyconfused:

Reply
0 Kudos
RickVerstegen
Expert
Expert
Jump to solution

You can add metrics by using for example the metric chart widget and setup the interaction with either datastore or virtual machines.

Why do you need a custom view for both Object Type?

Can you provide more details and post some screenshots maybe to clarify things up.

Was I helpful? Give a kudo for appreciation!
Blog: https://rickverstegen84.wordpress.com/
Twitter: https://twitter.com/verstegenrick
Reply
0 Kudos
iHumster
Enthusiast
Enthusiast
Jump to solution

I want to make custom dashboard to troubleshooting datastores and identifying main iops consumers for one or another datastore.

I try use Object List and View "Storage: Heavy Hitters", but they also don't work together. =(

Reply
0 Kudos
RickVerstegen
Expert
Expert
Jump to solution

Have you already looked at the built-in "Troubleshoot a datastore'' dashboard to see if this satisfies you?

Otherwise, clone it and adjust it as desired.

Was I helpful? Give a kudo for appreciation!
Blog: https://rickverstegen84.wordpress.com/
Twitter: https://twitter.com/verstegenrick
Reply
0 Kudos
GayathriS
Expert
Expert
Jump to solution

As Rick said, there is a default one which is called as troubleshoot datastore as showed in below image where you can select multiple metrics under it :

pastedImage_1.png

-->You can also create a view which gives you all related details and  performance related data for datastores ,

pastedImage_0.png

Please let me know if this helps .

Please consider marking this answer as "correct" or "helpful" if you think your questions have been answered.

regards

Gayathri

Reply
0 Kudos
iHumster
Enthusiast
Enthusiast
Jump to solution

Guys, you do not understand what I want. I need a relationship like Datastore (one) -> VMs (many). And vROps seems to be able to do just the opposite.

Reply
0 Kudos
sxnxr
Commander
Commander
Jump to solution

I think I know what you are after

Create two object lists one for Datastores and one for VMs. Filter the datastores to show only datastores. In the VM list select parent and filter it to show only VMs

Add in two metric charts one for datastores and one for VMs edit the VM one and make sure it is set to mode object types. Filter it to datastores and select the metrics you want. do the same for the metric chart for VMs but filter for virtual machines and select the metrics you want

in the widget interactions have the object list for datastores feed the object list for VMs and the datastores metric chart and then have the object list for the virtual machines feed the metric chart for virtual machines.

When you select a datastore it will show you all the VMs on that datastore in the Virtual Machines object list and also the datastore metrics you added to the metric chart for datastores. then selecting the virtual machines in the virtual machine object list will show you the metrics you selected in the virtual machine object list.

This will give you nice charts and you can use the date controls for the metric charts.

RickVerstegen
Expert
Expert
Jump to solution

sxnxr​, Thanks for helping out. I also mentioned this earlier in the post.

You described it in more detail, so hopefully this is what he is looking for.

Was I helpful? Give a kudo for appreciation!
Blog: https://rickverstegen84.wordpress.com/
Twitter: https://twitter.com/verstegenrick
Reply
0 Kudos
iHumster
Enthusiast
Enthusiast
Jump to solution

Guys, relations datastore to VMs not working for Object List widgets too.

pastedImage_1.pngpastedImage_0.png

pastedImage_2.png

After select any datastore - VMs widget show No Results Found.

Reply
0 Kudos
RickVerstegen
Expert
Expert
Jump to solution

The Datastore object list must be set on: Self mode
pastedImage_0.png

The virtual machine Object list must be set on Parent mode.
pastedImage_1.png

Was I helpful? Give a kudo for appreciation!
Blog: https://rickverstegen84.wordpress.com/
Twitter: https://twitter.com/verstegenrick
sxnxr
Commander
Commander
Jump to solution

If you had read the previous replys you have been told twice by two different people to set the VM widget to parent

You have it set to children. Setting the datastores widget to parent will do nothing

iHumster
Enthusiast
Enthusiast
Jump to solution

OK. I understend - "Parent" and "Children" is the direction for the relationship. But it still does not solve my problem.

I created a View (tabular) for VMs objects with custom metrics. And when I select Datastore from the Object List widget (or any other Datastores list), I want to see a table view with these VMs and custom metrics. That they could be sorted by this or that metric ...

Reply
0 Kudos