ปกติเพื่่อน ๆ ได้ทำ Daily Report กับระบบ VMware ESX ที่ใช้งานอยู่บ้างไหมครับ .. พอดีไปอ่านเจอมามีบล๊อกต่างประเทศได้เขียน Scritp เพื่อทำการสร้าง Daily Report เพื่อทำให้เราสะดวกในการตรวจสอบความเป็นอย่างของ VMware เราได้ง่าย ๆ เลยผ่าน CLI ถ้าเพื่อน ๆ พร้อมแล้วลองเอาไปใช้ได้เลยที่
What is checked for ?The following items are checked for by default but these can be disabled individually to make the script run faster and remove unwanted items from the report, see “Configuring the script” below for details.
* General Details
o Number of Hosts
o Number of VMs
o Number of Templates
o Number of Clusters
o Number of Datastores
o Number of Active VMs
o Number of Inactive VMs
o Number of DRS Migrations for the last days
* Snapshots over x Days old
* Datastores with less than x% free space
* VMs created over the last x days
* VMs removed over the last x days
* VMs with No Tools
* VMs with CD-Roms connected
* VMs with Floppy Drives Connected
* VMs with CPU ready over x%
* VMs with over x amount of vCPUs
* List of DRS Migrations
* Hosts in Maintenance Mode
* Hosts in disconnected state
* NTP Server check for a given NTP Name
* NTP Service check
* vmkernel warning messages ov the last x days
* VC Error Events over the last x days
* VC Windows Event Log Errors for the last x days with VMware in the details
* VC VMware Service details
* VMs stored on datastores attached to only one host
* VM active alerts
* Cluster Active Alerts
* If HA Cluster is set to use host datastore for swapfile, check the host has a swapfile location set
* Host active Alerts
* Dead SCSI Luns
* VMs with over x amount of vCPUs
* vSphere check: Slot Sizes
* vSphere check: Outdated VM Hardware (Less than V7)
* VMs in Inconsistent folders (the name of the folder is not the same as the name)
* VMs with high CPU usage
* Guest disk size check
* Host over committing memory check
* VM Swap and Ballooning
* ESXi hosts without Lockdown enabled
* ESXi hosts with unsupported mode enabled
* General Capacity information based on CPU/MEM usage of the VMs
* vSwitch free ports
* Disk over commit check
* Host configuration issues
* VCB Garbage (left snapshots)
* HA VM restarts and resets
* Inaccessible VMs