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
Type
SDK / Platform / Tool
Contributor
Language
- MB Config Max Logical CPUs Remaining per hostDisplays 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
- MB Config Max ESXi LUNs RemainingDisplays 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
- vSAN Cache Disk Encryption StatusReturns 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
- vSAN Capacity Disk Encryption StatusReturns 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
- vSAN Host Encryption StatusReturns 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
- ESXi Host downDisplays the number of ESXi Host(s) that are down.vRealize Operations Manager vRealize Ops Super Metrics
- VM Uptime... 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
- Cluster Total VM RAM AllocatedProvides you total allocated memory of all VMs in a cluster based on GB or TB.vRealize Operations Manager vRealize Ops Super Metrics
- Location Connectivity Analysis with vROPs for HorizonAs 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
- Longest VM uptime in DaysThis dashboard was created in vROps 7.5 and uses one super metrics included here. I've converted the OS Uptime metric, which is in seconds to days. i have created this Dashboard to enable organizati ...vRealize Operations Manager vRealize Ops Super Metrics