WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Hardware Options
    • Hardware Reviews
    • Lab Deployment Scripts
    • Nested Virtualization
    • Homelab Podcasts
  • VMware Nostalgia
  • Apple
You are here: Home / VSAN / VSAN vCheck Plugins

VSAN vCheck Plugins

04.07.2014 by William Lam // 5 Comments

After creating my VSAN Configuration Maximum query script I thought it would also be useful to create an equivalent set of VSAN vCheck Plugins. For those of you who have not heard of or used vCheck (pretty rare unless you do not use PowerShell/PowerCLI in your environment), it is a PowerShell reporting HTML framework created by Alan Renouf. vCheck allows you to schedule a series of PowerCLI scripts/checks against your vSphere environment and produces a daily report on the things you care most about such as datastore capacity being under a certain threshold or potential snapshots growing out of control in your environment.

Given this is the primary use case for vCheck, I figure it would make sense to implement these same set of VSAN configuration maximum checks in vCheck as well. This would also give me the opportunity to learn more about vCheck as I have never used it before. If you are new to vCheck, I highly recommend you check out Jonathan Medd's article on how to get started with vCheck here.

Here is a sample report of a real VSAN environment to get an idea of what the report could look like: VSAN-vCheck-Report.html

Below are the VSAN vCheck Plugins that I have created which also includes a bonus plugin which reports on the capacity of a VSAN Datastore. You can pick and choose the VSAN plugins that you want to use in your environment and then customize the threshold parameter for each report based on your requirements.

  1. 990 VSAN Capacity Report.ps1
  2. 991 VSAN Configuration Maximum Disk Group Per Host Report.ps1
  3. 992 VSAN Configuration Maximum Magnetic Disks Per Disk Group Report.ps1
  4. 993 VSAN Configuration Maximum Total Magnetic Disks In All Disk Groups Per Host Report.ps1
  5. 994 VSAN Configuration Maximum Component Per Host Report.ps1
  6. 995 VSAN Configuration Maximum Hosts Per Cluster Report.ps1
  7. 996 VSAN Configuration Maximum VMs Per Host Report.ps1
  8. 997 VSAN Configuration Maximum VMs Per Cluster Report.ps1

For those of you who are looking to evaluate VSAN in their environment, hopefully these VSAN vCheck reports will come in handy. If there are others that you feel that might be useful, feel free to leave a comment or contribute back to the vCheck project on Github.

More from my site

  • Retrieving detailed per-VM space utilization on VSAN
  • How to move vSAN Datastore into a Folder?
  • How to tell if an ESXi host is a VSAN Witness Virtual Appliance programmatically?
  • VSAN Flash/MD capacity reporting
  • VSAN Configuration Maximum Query Script

Categories // VSAN, vSphere 5.5 Tags // configuration maximum, PowerCLI, vCheck, VSAN, vsanDatastore, vSphere API

Comments

  1. *protectedJonathan Medd says

    02/05/2015 at 3:44 pm

    Thanks for posting this, a handy reminder right now for me that they existed. For info it looks like the location of the ps1 files moved recently to folders, so the above links are currently broken. They are now in the Datastore folder https://github.com/alanrenouf/vCheck-vSphere/tree/master/Plugins/40%20Datastore

    Reply
    • William Lam says

      02/05/2015 at 4:02 pm

      Thanks for the note, I've fixed the links.

      Do I have you or Alan to thank for that 😉

      Reply
  2. *protectedJonathan Medd says

    02/05/2015 at 4:07 pm

    Not me this time. I can't keep up with all of the updates on there these days 😉

    Reply
  3. *protectedjaidheep s says

    03/28/2018 at 12:44 am

    Hi
    i need to produce the Deduplication & Compression Ratio from our vSAN estate on a daily basis which i am doing manually.
    Please help me if this can be automate through vcheck report

    Reply
  4. *protectedFred says

    10/12/2022 at 7:00 am

    Hi
    in 993 VSAN Configuration Maximum Total Magnetic Disks In All Disk Groups Per Host Report.ps1,
    I ran the script of vCheck, and If the host has 2 disk groups, It only display the MD numbers of 1 disk group for every host. I check the script, and seems that in line 34, should be "TotalMDCount" = $totalMDs, not "TotalMDCount" = $mds.
    Could you have a check.

    Reply

Thanks for the comment!Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • VCF 9.0 Hardware Considerations 05/30/2025
  • VMware Flings is now available in Free Downloads of Broadcom Support Portal (BSP) 05/19/2025
  • VMUG Connect 2025 - Minimal VMware Cloud Foundation (VCF) 5.x in a Box  05/15/2025
  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025