Virtualization
There are a number of scripts available to monitor the following health indicators, alerting where a hardware fault is reported. Depending on the monitored indicators, the Virtualization scripting language is either VBScript or PowerShell.
In addition to the Script Checks there is also the VMware ESXi Virtual Machine Control Automated Task
Each of the Virtualization scripts require the following basic information to successfully query the ESXi server with this entered in the Script Parameters section.
Script Parameters | Description |
---|---|
Host | Address of the ESXi server |
Username | Username for an account with the minimum required permission to query the CIM counters |
Password | Password for this account |
Script Timeout Range | Range: 1 - 3600 seconds (default 120 seconds) |
The output only shows a green tick if the API reports an OK state. Sometimes this may be Unknown which shows as a red exclamation box. The ESXi Script Checks will only fail where a problem is detected, if a pass or unknown condition is reported the Script Check will pass. The condition indicators are: pass (green tick), unknown (gray tick) or fail (red exclamation box).
The VMware ESXi Health PSUs and Sensors Checks may return inaccurate results on HP ProLiant DL servers.
What do you want to do?
- VMware ESXi Script Requirements
- VMWare Certificates
- VMware pre-version 5.1: Minimum User Requirements
Version 5.1 introduced a change to permissions handling in VMWare and using the root account may be necessary to allow the script to access the required indicators.
- PowerShell: the use of $ and other special characters in the password
- VMware ESXi - Datastore Free Space
- VMware ESXi Health - CPUs
- VMware ESXi Health - Fans
- VMware ESXi Health - Memory
- VMware ESXi Health - PSUs
- VMware ESXi Health - Sensors
- VMWare ESXi Health Storage
- VMware ESXi Virtual Machine Inventory
- VMware ESXi Virtual Machine Power State
- VMware ESXi Virtual Machine Control Automated Task
- Script Check