First step to do if no data is available for a tab in Hyper-V VM Monitor

First step to do if no data is available for a tab in Hyper-V VM Monitor

In Hyper-V all the data has been collected via WMI. So if any of data is not retrieved properly in the UI, we can check it by executing VBScript in powershell.

Steps to execute the VBScript in powershell:
  1. Navigate to Appmanager14->working->conf->Application->scripts.
  2. Type cscript filename and its arguments.
The below table contains the List of VBScript commands for each metrics present under the Hyper-V Virtual Machine Monitor:

Attribute
WMI Property
VBScript File
Performance Overview Tab:

CPU Utilization
Number of Virtual Processors


CPUUtilization
NumofVPs

HyperVVMDC.vbs <HostName> <UserName> <Password> 1 <Version> <GUID> <VMName>
Memory Tab:

Deposited Pages
Address Spaces
Virtual TLB Size recommended
Virtual TLB Pages
GPA Space Modifications Per Second
Virtual TLB Flush Entires Per Second
Physical Pages Allocated
Preferred NUMA Node Index
Remote Physical Pages
Guest Visible Physical Memory


DepositedPages
AddressSpaces
RecommendedVirtualTLBSize
VirtualTLBPages
GPASpaceModificationsPersec
VirtualTLBFlushEntiresPersec
PhysicalPagesAllocated
PreferredNUMANodeIndex
RemotePhysicalPages
GuestVisiblePhysicalMemory
HyperVVMDC.vbs <HostName> <UserName> <Password> 1 <Version> <GUID> <VMName>
Network Tab:


Network Interface Utilization:

Name
Data Receive Rate
Data Transmit Rate
Packets Received
Packets Transmitted


Name
BytesReceivedPersec
BytesSentPersec
PacketsReceivedPersec
PacketsSentPersec
HyperVVMDC.vbs <HostName> <UserName> <Password> 3 <Version> <GUID> <VMName>
Storage Tab:


Disk I/O Utilization:

Disk Read Rate
Disk Total Read
Disk Write Rate
Disk Total Write


ReadBytesPersec
ReadCount
WriteBytesPersec
WriteCount
HyperVVMDC.vbs <HostName> <UserName> <Password> 2 <Version> <GUID> <VMName>
VM HardDisk Information:

Hard Disk Name
Differencing Hard Disk
Total Disk Size
File Size
Disk Fragment


HardDiskName
ParentPath
MaxInternalSize
FileSize
FragmentationPercentage
HyperVVMDC.vbs <HostName> <UserName> <Password> 2 <Version> <GUID> <VMName>
Disk Partition Utilization:

Disk
Total Size
Used
Free


Drive
Size
Used
Free

disk.vbs <HostName> <UserName> <Password>

Configuration Tab:

GUID
OS Name
VM Display Name
VM Health State
VM State
IP Address
Up Time
Number of Virtual Processors


GUID
GuestOperatingSystem
ElementName
HealthState
EnabledState
IPAddresses
UpTime
NumofVPs
HyperVVMDC.vbs <HostName> <UserName> <Password> 1 <Version> <GUID> <VMName>
Service Tab:

Display Name
Service Name

services.vbs <HostName> <UserName> <Password>
Process Tab:

Name
List of process running
No Of Instances
CPU Usage
Mem Usage
Handle Count

PhyMemCpuImportProduct.vbs <HostName> <UserName> <Password>
EventLog Tab:

Rule Name
Log File Type
Source
Event Id
Type
User Name
Description
Generated Time

event.vbs <HostName> <UserName> <Password> <Interval> <Condition> <NoOfEvents>

If VBScript is returing data, reach out to our support with the screenshot of the script output to appmanager-support@manageengine.com along with the latest Support Information File (SIF) after polling the problematic Hyper-V Virtual Machine Monitor from Applications Manager with print all logs enabled for analysis.