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

  • App Modernization

  • Automation Tools

  • Cloud Management

  • Compute Virtualization

  • Desktop & App Virtualization

  • Developer Tools

  • Digital Workspace

  • Hybrid Cloud & Data Center Infrastructure

  • Hyperconverged Infrastructure

  • Multi-Cloud Operations

  • Private & Hybrid Cloud

  • Storage & Availability

  • Virtual Cloud Networking

  • Other Platform

Contributor

Language

1 - 10 of 25 Results Sample Super Metrics
  • 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

    414 Downloads

    0 Comments

    Updated 1 year ago

  • Location Connectivity Analysis with vROPs for Horizon

    Contributor cfore

    As the number of user sites or locations increases, having good visibility into the overall quality of connectivity of those sites to your Horizon View data center(s) becomes increasingly important. H ...
    vRealize Operations Manager vRealize Ops Dashboard
    Download

    155 Downloads

    0 Comments

    Updated 1 year 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

    719 Downloads

    0 Comments

    Updated 1 year 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

    311 Downloads

    0 Comments

    Updated 1 year 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

    304 Downloads

    0 Comments

    Updated 1 year 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

    199 Downloads

    0 Comments

    Updated 1 year ago

  • ESXi Host down

    Contributor RickVerstegen

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

    534 Downloads

    0 Comments

    Updated 1 year 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

    278 Downloads

    0 Comments

    Updated 1 year ago

  • Super Metric - Monthly Cluster Total Storage Cost

    Contributor vMarkusK1985

    The Monthly Compute Cluster Total Storage Cost. Summary of all Parent Datastore Cost
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    71 Downloads

    0 Comments

    Updated 1 month ago

  • Super Metric to count VMs by Windows or Non-Windows

    Contributor vphilipose

    This super metric was created for a customer use case of publishing an executive dashboard with the count of Windows VMs and Linux VMs within vRA Business Groups . This super metric may also be applie ...
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    293 Downloads

    1 Comment

    Updated 11 months ago