Tag Archives: dashboard

vROPs – What is the “IsGreenForPlacement” Metric + Dashboard

A customer of mine queried the details of a metric available in vROPs “IsGreenForPlacement”

You can find this by selecting a cluster in vROPs, go to All Metrics, and just search placement.

And here is a screenshot of the Metric in a sparkline.

The customer uses this metric to give a signal (Green/Red Button on a vROPs Dashboard) if a vSphere cluster can be used for on-going deployments.

Unfortunately there’s not much documented information publicly. And we ran into an  issue where the metric stayed positive (yes you can deploy), but the Storage datastore had run out of space. So I went off to dig out what this metric actually does.

IsGreenForPlacement – details

After speaking to the internal teams on vROPs I found the answer;

“Regarding IsGreenForPlacement metric, only CPU and Memory participates on calculation of this metric, by default if CPU and MEM workload is less than 80% it is green.”

So storage is not taken into account.

Creating a Dashboard

This one will be really simple.

1. Create a new dashboard, or Edit an existing dashboard.

2. Add the Scoreboard Health widget

3. Edit this widget

4. Configure the following

  • Widget Name
  • Set your content refresh settings
  • Self provider – Set to ON
  • Image type = Whatever you like

  • Metric = Select custom > pick metric and search as in the below screenshot
    • Adapter Type = vCenter Adapter
    • Object Type = Cluster Compute Resource
    • Search for the “Is Green For Placement” metric (or filter like I have)

5. Click the Input Data bar at the bottom of the configuration dialog

  • Click the green +

6. Search for your chosen vSphere Cluster

  • Make sure you select the object type = Cluster Compute Resource

Save the dashboard configuration.

And now you have a nice widget that will turn Red when your cluster CPU or RAM hits 80%+

You can download the dashboard I created for this Blog Post at the VMware {code} website.

Regards

Dean

Using vROPs to track adoption – Such as VMware Tools upgrades

I had an interesting question from a customer recently;

Can we track the adoption/upgrades of VMware tools to the latest version in a vROPs dashboard

At first, I thought sure this is easy. But then looking at the various different default options, nothing would give me a graph which shows the increasing uptake or upgrades of VMware Tools to the last version.

I consulted internally, and between myself and my customer we came up with the following solution. Which was quite simple once we thought it out.

Solution

  1. Create a custom group based on the information you want to capture

In the below example, I’ve done this to target VMs with VMware Tools 10.3.10, you could leave it as “10.3” to target any 10.3.X release.

The property we are interested in, for this example is “Summary > Guest Operating System >  Tools Version”

2. Now we need to create a dashboard, and all we are simply going to do, is count the members of the customer group over time using the population metric.

  • Create your dashboard, and select “Metric Chart” as your visual for the dashboard
  • Click to Edit this visual (you will not see any graph yet)

  • Under Input Data, select “metrics” (should be the default selection)
  • Click the green + to add our objects

  • Filter for your custom group and select
  • Then filter your metric options for “population”
  • Save this selection

  • You should now have the below configuration
  • I’ve also highlighted where you can change the name of the visual as its displayed in the dashboard.
  • Save this configuration

And now you will have a basic dashboard as below.

This essentially shows us the adoption count of VMs using VMware tools 10.3.10.

Very simple, and we could use this for other metrics as well, lets say I want to track VMs moving into a new datastore, I could just pick the custom group filter as “Properties > Summary > Configuration > Datastore” then state contains “datastore name”

As VMs move into this datastore, the count will increase.

Finally I’ll sign off by showing you my customers dashboard that they happily shared a screenshot of.

You can download a copy of the dashboard created for this blog post at the VMware {code} website.

 

Regards

Dean