VMware Sample Exchange

Browse and download code samples from VMware as well as code samples contributed by the VMware community. Log in to Sample Exchange using your MyVMware credentials to submit requests for new samples, contribute your own samples, as well as propose a sample as a solution for open requests.

Disclaimer: All sample content and code in Sample Exchange is licensed to you by the sample's author. VMware does not guarantee the samples; they are provided "AS IS". Use of this site is subject to the VMware Community Terms of Use.

Browse the list below for code samples from VMware and the community. You can filter the list of samples by selecting a platform or language, or enter other search keywords above.

Filters

SDK / Platform / Tool

  • Application Management Services

  • Automation Tools

  • Cloud Management Platform

  • Cloud Native Applications

  • Data Center & Cloud Infrastructure

  • Desktop & Application Virtualization

  • Enterprise Mobility Management

  • Hybrid Cloud & Data Center Infrastructure

  • Networking & Security

  • Storage & Availability

  • Other Platform

Contributor

Language

1 - 10 of 17 Results Sample Super Metrics
  • MB Config Max Logical CPUs Remaining per host

    Contributor jddias

    Displays the number of LUNs that can be added to an ESXi host based on the vSphere 6.7 Configuration Maximums. Assumes 1:1 LUN to Datastore Ratio.
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    216 Downloads

    0 Comments

    Updated 6 months ago

  • MB Config Max ESXi LUNs Remaining

    Contributor jddias

    Displays the number of LUNs that can be added to an ESXi host based on the vSphere 6.7 Configuration Maximums. Assumes 1:1 LUN to Datastore Ratio.
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    212 Downloads

    0 Comments

    Updated 6 months ago

  • vSAN Cache Disk Encryption Status

    Contributor vm_spot

    Returns a value of 0 or 1 depending on whether or not the selected vSAN cache disk is encrypted. This can then be consumed in heatmaps.
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    172 Downloads

    0 Comments

    Updated 6 months ago

  • vSAN Capacity Disk Encryption Status

    Contributor vm_spot

    Returns a value of 0 or 1 depending on whether or not the selected vSAN ca disk is encrypted. This can then be consumed in heatmaps.
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    170 Downloads

    0 Comments

    Updated 6 months ago

  • vSAN Host Encryption Status

    Contributor vm_spot

    Returns a value of 0 or 1 depending on whether or not the selected vSAN host has encryption enabled. This can then be consumed in heatmaps.
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    99 Downloads

    0 Comments

    Updated 6 months ago

  • VM Uptime

    Contributor Iwan Rahabok

    ... http://virtual-red-dot.info/vm-availability-monitoring/ The up time of a VM is more complex than that of a physical machine. Just because the VM is powered on, does not mean the Guest OS is up and ...
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    452 Downloads

    0 Comments

    Updated 6 months ago

  • Cluster Total VM RAM Allocated

    Contributor RickVerstegen

    Provides you total allocated memory of all VMs in a cluster based on GB or TB.
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    166 Downloads

    0 Comments

    Updated 6 months ago

  • ESXi Host down

    Contributor RickVerstegen

    Displays the number of ESXi Host(s) that are down.
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    339 Downloads

    0 Comments

    Updated 6 months ago

  • Total CPU Allocated to Windows VMs

    Contributor RickVerstegen

    Super Metric that displays the total allocated CPU to Windows VMs in a vSphere cluster. This super metric uses the new string operations for where conditions in vROps 7.x and later.
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    298 Downloads

    0 Comments

    Updated 6 months ago

  • Super Metric - Cluster Total Disk Space Less Local Datastores

    Contributor jddias

    If you'd like to have total available disk space for a cluster that doesn't include local datastore space.  This uses the "where" clause with looping to add up all child datastores that have the Summa ...
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    25 Downloads

    0 Comments

    Updated 5 days ago

;