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
- 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
- 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 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
- AVG Connection Sessions in a Custom Group**Requires the 'vRealize Operations Management Pack for Horizon'** This formula will show the average number of connected sessions with a custom group. You'll need to first have or create a custom gro ...vRealize Operations Manager vRealize Ops Super Metrics
- Cost Showback for VM group by size like s m l xl for Operations 8.XThe dashboard displays the cost of running virtual machines (VMs) grouped by t-shirt sizes (i.e. small, medium, large) rather than by specific VM. This would provide a high-level overview of the costs ...vRealize Operations Manager vRealize Ops Super Metrics
- Cluster Compute resource Free Memory TBAs seen in vSphere clientvRealize Operations Manager vRealize Ops Super Metrics
- Super Metric - Cluster Total Disk Space Less Local DatastoresIf 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
- 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 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