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
- Simple Local Cluster Migration Dashboard - non-HCIOverview This simple dashboard helps you determine the number of new (planned) ESXi Hosts you will need to migrate all workloads of a selected vSphere cluster according to the demand-driven capacity c ...vRealize Operations Manager vRealize Ops Dashboard
- supermetrics.jsonThere are six super metrics in this .json file. They are all Super Metrics attached to the VM for ESXi Host properties/metrics and Cluster properties/metrics. https://github.com/brockpeterson/vrops_da ...vRealize Operations Manager vRealize Ops Super Metrics
- VM Number of Snapshots Older than Two DaysAria Operations Super Metric designed to count the number of VM Snapshots older than two days. This Super Metric was build in vROps 8.10.2. ============================================================ ...vRealize Operations Manager vRealize Ops Super Metrics
- VM Number of SnapshotsThis Super Metric is designed to count the number of Snapshots on a VM. It was developed on vROps 8.10.2. It can be used along with a Symptom/Condition to Alert on VMs with more than 1-2 Snapshots. == ...vRealize Operations Manager vRealize Ops Super Metrics
- Powered Off ESXi Hosts Super MetricThis super metric defines the number of Powered Off ESXi Hosts. It's defined against vSphere World and uses Total ESXi Hosts and Running ESXi Hosts. =================================================== ...vRealize Operations Manager vRealize Ops Super Metrics
- VM Folder Super MetricWritten in vROps 8.12, this super metric is designed to sum the VM Costs in a VM folder. It could be adapted to other parents objects as well. ========================================================= ...vRealize Operations Manager vRealize Ops Super Metrics
- VM vCPU Multiplier v3 Super MetricVM vCPU * 3 defined on the OS object discovered by Telegraf. I had to create this super metric on the OS object such that I could compare it to the Processor Queue Length \r\nmetric discovered by Tele ...vRealize Operations Manager vRealize Ops Super Metrics
- Super Metric - Monthly Cluster Total Storage CostThe Monthly Compute Cluster Total Storage Cost. Summary of all Parent Datastore CostvRealize Operations Manager vRealize Ops Super Metrics
- VMignite.com-VM_Uptime.jsonThis is an updated version of Iwan's uptime metric. More details can be found here http://www.vmignite.com/2020/09/vrops-super-metric-virtual-machine-uptime/vRealize Operations Manager vRealize Ops Super Metrics
- Supermetric - list all VM with CPU High Shares... overview per cluster how many VM have CPU High Shares configuredvRealize Operations Manager vRealize Ops Super Metrics