VMware Cloud Community
Jamison618
Contributor
Contributor

vROps 7.5: ESXi Patch Compliance Based on Build #

Hello,

There is a distribution Pie chart in vROps that has all of the ESXi builds in our environment.  I'm trying to build a custom dashboard that breaks this down by Major Versions (we have v6.0, 6.5, & 6.7 in our environment in different vCenters).

I'm trying to create a chart that simply has either Compliant or Non-Compliant %.  For instance, all hosts that are on build # xxxxxxx or above are considered "Compliant".  Everything else is considered "Non-Compliant"

There may be a trick that I'm not thinking of, so I thought I'd poke this community.

I created custom groups for each major version of ESXi and applied the Host Version distribution View on the dashboard:

snag.2019.06.10.001.jpg

I would like to change the Pie Chart to show everything >= build 11925212 as 'Green' and everything below as 'Red' in the above example.

I realize that I'll probably need to manually update what my company deems compliant/updated/patched.

One thing I've tried to do is build a SuperMetric but the data consistently returns '0' count.  Below is the formula I've been trying to use:

count(${adapterkind=VMWARE, resourcekind=HostSystem, attribute= System|Build Number, depth=1, where=">=10719132"})

When I select a cluster in the SuperMetric preview pane the results return 0 (yes, the entire cluster is on that build)  I've tried other operators such as == and <= and all return 0 results.

Has anybody done something similar to this or have any thoughts? 

Reply
0 Kudos
1 Reply
RickVerstegen
Expert
Expert

Try changing resourcekind=HostSystem to objecttype=HostSystem

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