Use this Knowledge Script to generate an inventory of all hosts and virtual machines for the selected vSphere environment as well as configuration details for each host and virtual machine.
NOTE:
This script may take more than an hour to run on environments with more than 500 virtual machines.
This script may take significantly longer to run on a proxy agent versus a non-proxy agent.
Each host report shows the following information:
General information
Type
Version
Build
System manufacturer
System model
Number of processors and resources of each (in GHz)
Processor type
Total CPU resources (in GHz)
Memory (in megabytes)
Number of virtual machines
If VMotion is enabled or disabled
Date and time the system was booted
System date and time
Uptime
Processor information
Processor type
Processor speed
Number of processor sockets
Number of cores per socket
Number of logical processors
If hyperthreading is enabled or disabled
Memory information
Total RAM (in megabytes)
RAM in use by virtual machines
Service console RAM (in megabytes)
Storage information
Number of datastores
Table of device, capacity (in gigabytes), free space (in gigabytes), and type
Table of adapters, device, host bus adapter, type, and SAN identifier
Table of physical adapters, device, speed, vSwitch, and WOL support
Table of virtual switches, configured ports, and available ports
Virtual machine and template information
Table of virtual machines, state, uptime, CPU count, memory (in megabytes), guest OS, and notes
Table of templates, CPU count, memory (in megabytes), guest OS, and notes
For each virtual machine, the report shows the following information:
General information
DNS name
Guest operating system
Template
State
Uptime
Host machine
VMware tools status
VMware tools version
Number of snapshots
CPU information
Number of CPUs
CPU reservation (in MHz)
Memory information
Memory (in megabytes)
Memory reservation (in megabytes)
Disk information
Table of disks, their type, and their size (in gigabytes)
Network information
Table of network interface cards, VLAN, emulation, IP address, and MAC address
vCenter
By default, this script runs once.
Set the following parameters as needed:
Parameter |
How to Set It |
---|---|
Event Notification |
|
Raise event when configuration files successfully generated? |
Select Yes to raise an event if the configuration files were successfully generated. The default is Yes. |
Event severity when configuration files successfully generated |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which configuration files are generated successfully. The default is 25. |
Event severity when AppManager failed to get metrics |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which AppManager failed to retrieve metrics from vCenter. The default is 15. |
Event severity when AppManager failed to log in |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which AppManager failed to log in to vCenter. The default is 5. |
Event severity when Configuration job fails unexpectedly |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the Configuration job fails unexpectedly. The default is 5. |
Knowledge Script Settings |
|
Full path to output folder for result files |
Provide the path to a location on the agent computer in which to save the configuration. The default path is C:\ProgramFiles\NetIQ\Temp\NetIQ_Debug\VMware. NOTE:This script raises an error event if you use any of the following characters in the path for this parameter: / * " < > | ? |
Report file name |
Provide a file name for the report. The default name is default.html |