top of page

Cluster Capacity with a Super Metric in VCF Operations

  • Writer: Brock Peterson
    Brock Peterson
  • Jun 30
  • 1 min read

Updated: Aug 17

I wanted to know when Cluster CPU, Memory, and Disk were all below 50%, here's how I did it! Just listing Clusters and sorting theese metrics ascending is a start, but what if there are dozens/hundreds of Clusters? So, I created a Super Metric checking usage levels and set it to 0 if all were below 50% and 1 otherwise.


First, we need a Super Metric for Cluster Disk Usage % as it's not available out-of-the-box, mine looks like this and is available here.


ree

Now, let's calculate our Super Metric for Cluster Capacity threshold levels, we'll call it the Cluster Capacity Bit. It looks like this and is available here.


ree

It basically says: if CPU Usage < 50% and Memory Usage < 50% and Disk Usage < 50%, set the bit to 0, otherwise set it to 1. I can now use this Super Metric in Views and Dashboards, it presents like this.


ree

As you can see the bottom Cluster has 75% Memory Used and as such the Cluster Capacity Bit is set to 1 for that Cluster. Not terribly interesting when evaluating three Clusters like I am, but very useful when listing dozens/hundreds of them. Enjoy!

Comments


    bottom of page