Tool: VMware Health Check Report

vmware logo

William Lam, a UNIX Systems Administrator at Salesforce.com, popular in the virtualization community, develops a Perl script which scans VMware ESX/ESXi hosts and vSphere vCenter servers and reports the status of number of aspects.

Called VMware Health Check Report, it reached version 4.0 yesterday, offering very welcome new capabilities:

  • Report is now completely modular in which categories to display via a configuration file
  • Ability to specify specific ESX/ESXi host to query
  • Ability to specify specific Virtual Mchines to query
  • vCenter HA Advanced Runtime information
  • vCenter HA Configuration (primary/secondary and node states)
  • vCenter HA Advanced Configurations
  • vCenter DRS Advanced Runtime information
  • ESX/ESXi IP/HOSTNAME of vCenter Management IP
  • ESX/ESXi Newly improved Hardware and System Health Stuats information
  • ESX/ESXi Advanced Configurations
  • ESX/ESXi NUMA information
  • VM UUID,Bootime,Resource Statistics, Fault Tolerance, Thin provisioned and NPIV information

The list of aspects that it was already able to check is impressive

  • vCenter Managed IP per ESX(i) host
  • vCenter User/Group Permissions
  • Added Host & SCSI LUN Model attribute
  • Added Host boottime
  • Additional LUN Mapping information including Datastore,VolumeUUID,DiskName and DeviceName
  • VM portgroup + dvportgroup mapping
  • Performance Stats for both Cluster + Hosts (cpu/mem avg + %)
  • Performance Stats for VM (cpu/mem avg + %, ready & ballon)
  • Email report capability
  • Added additional command line options for including Cluster,Host and VM Performance stats (default: off)
  • New licensing format/summary
  • EVC Enabled information
  • Cluster VM monitoring
  • Cluster Host monitoring}
  • # off VMotions within a cluster
  • Datastore uncommitted info
  • CPU power management info
  • VM info (FT, Record/Replay, Clean Poweroff)
  • Host IPv6, FT, SSL Thumbprint
  • Host Profiles
  • vApp information
  • Distributed vSwitch information}
  • vCenter Build/Release
  • Active Sessions
  • ESX/ESXi Build/Release
  • Cluster(s) Name/Statistics (Hosts,CPU and MEM availabity, HA,DRS and DPM enabled, Resource Pools, Health)
  • ESX/ESXi Hardware configuration (NICs/HBAs)
  • ESX/ESXi Hardware Health Sensor via CIM
  • ESX/ESXi State
  • ESX/ESXi Configurations (for detailed information, use detail-hosts option)
  • ESX/ESXi Multipathing Info (only available in host or detail-hosts option)
  • ESX/ESXi Datastore summary
  • ESX/ESXi LUN summary
  • ESX/ESXi Portgroup summary
  • ESX/ESXi Hostd logs
  • CDP Summary
  • Recent Tasks
  • Virtual Machine summary
  • VM Storage summary
  • VM Network summary
  • VM w/Snapshots
  • VM w/Snapshot delta age
  • VM w/RDMs
  • VM w/NPIV enabled
  • VM w/connected CD-ROMs
  • VM w/connected Floppys

Here’s a sample report that the tool can generate.