savagea
Enthusiast
Enthusiast

Dashboard to show over and under provisioned VMs

Can this be done?  Would like to have a nice clean dashboard to show a birds-eye view of virtual machines that are both under and over provisioned.

Any ideas/experience with this would be greatly appreciated.

0 Kudos
15 Replies
greco827
Expert
Expert

Off the top of my head I would think that you could do this with Top-N charts pretty easily.  Let me toss one together and see what I come up with.

If you find this or any other answer useful please mark the answer as correct or helpful https://communities.vmware.com/people/greco827/blog
0 Kudos
greco827
Expert
Expert

Ok, keep in mind I threw this together quickly, so it's not pretty, but it does work.

vROps_CustomDashboard_OverUnder.jpg

Top left is the most wasteful VM's, i.e., Oversized.

Top right is least wasteful VM's, i.e., Undersized

Bottom is VM's with the highest recommended percentage of reduction, again, oversized. but by percentage over what they are allocated, not total waste.

The same methodology is used for each.  Top-N, Self Provider, Object Type = Virtual Machine.  The first uses Badge | Waste, the second uses Badge | Stress, and the third uses CPU | Recommended Size Reduction.  There are probably lots of other ways too, this is just what I came up with on the fly.  Hope it helps!

vROps_CustomDashboard_OverUnder_config.jpg

If you find this or any other answer useful please mark the answer as correct or helpful https://communities.vmware.com/people/greco827/blog
savagea
Enthusiast
Enthusiast

Very cool man thank you!  Let me see if I can replicate this.

0 Kudos
greco827
Expert
Expert

Let me know if you need any help or have any questions.

If you find this or any other answer useful please mark the answer as correct or helpful https://communities.vmware.com/people/greco827/blog
0 Kudos
savagea
Enthusiast
Enthusiast

Any ideas on if I can create this dashboard based only on 1 of my policies?  I have a Dev and Prd policy.  Only want to see the objects from the Prd policy.

0 Kudos
greco827
Expert
Expert

How do you go about applying that policy?  How do you target the objects?

If you find this or any other answer useful please mark the answer as correct or helpful https://communities.vmware.com/people/greco827/blog
0 Kudos
savagea
Enthusiast
Enthusiast

I create custom groups, based on folders in vCenter...  (Have Prd, Dev folders)

0 Kudos
greco827
Expert
Expert

OK, good.  You just have to apply the same principles.  Depending on the type of widget you are using, simply configure it to use only that environment (assuming you created your group under environment, but it could be function or whatever), and chose that group.

vROps_Environment.jpg

If you find this or any other answer useful please mark the answer as correct or helpful https://communities.vmware.com/people/greco827/blog
0 Kudos
savagea
Enthusiast
Enthusiast

Hmm, actually that method of creating custom groups doesn't seem to be working.  I want to create a group based on everything within my host folder called "production" in vcenter.

1.png

0 Kudos
greco827
Expert
Expert

You can create a custom group in vROps based on a folder or folders.  See the example below:

When you click on preview, you should see all of the virtual machines that are contained in the folder you chose.

vROps_CustomGroupbasedonFolder.jpg

If you find this or any other answer useful please mark the answer as correct or helpful https://communities.vmware.com/people/greco827/blog
0 Kudos
savagea
Enthusiast
Enthusiast

Yeah... I'm missing something.  I can get it to see and add the folder, but none of the contents of it...

1.png2.png

0 Kudos
greco827
Expert
Expert

Host Folder should not be your object type.  Virtual Machine should be.

If you find this or any other answer useful please mark the answer as correct or helpful https://communities.vmware.com/people/greco827/blog
0 Kudos
savagea
Enthusiast
Enthusiast

Still ng.  Clicking 'preview' doesn't show anything.  Very strange.

0 Kudos
savagea
Enthusiast
Enthusiast

Also, if I want to monitor EVERY object under a certain group, folder, etc...  I have to add criteria for that specifically?  In other words, VMs, Hosts, Datastores, Datastore Cluster, etc... 

0 Kudos
greco827
Expert
Expert

You would have to layer the criteria with an OR statement, yes.

If you find this or any other answer useful please mark the answer as correct or helpful https://communities.vmware.com/people/greco827/blog
0 Kudos