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

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

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 the 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 contails the List of VBScript Commands for each metrics present under the Hyper-V Host Monitor:
      
Attributes
WMI Property Used
Vb Script
Overview Tab:


HYPERVISOR CPU USAGE DETAILS:
Total CPU Utilization
Guest CPU Utilization
Hypervisor CPU Utilization
Idle CPU Utilization

%TotalProcessorTime
%GuestProcessorTime
%HyperVisorRunTime
%IdleProcessorTime
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "9" <Version>
PROCESSOR DETAILS:
Logical Processors
Virtual Processors
Physical Processors

NoOfLogicalProcessors
NoOfVirtualProcessors
PhysicalProcessors
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "9" <Version>
MEMORY DETAILS:
Total Physical Memory
Total Swap Memory
Total Physical Pages Allocated
Total Remote Physical Pages

TotalPhysicalMemoryHyperVHost
TotalVirtualMemorySize
TotalPhysicalPagesAllocated
TotalRemotePhysicalPages
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "9" <Version>
Hyper-V System Services:
Service Name
Service Status

Name
State
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "7" <Version>
Virtual Machines:
Virtual Machine Name
VM State
GUID

VMDisplayName
VMState
VMID
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "8" <Version>



CPU Tab:


CPU Details:
Core Name
User Time(%)
System Time(%)
I/O Wait Time(%)
Idle Time(%)
CPU Utilization(%)
Interrupts/sec

CoreName
CpuUtil
UserTime
SystemTime
IOWaitTime
IdleTime
InterruptsPerSec
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "1" <Version>



Memory Tab:


Memory Usage Details:
Swap Memory Utilization
Swap Memory Used
Physical Memory Utilization
Physical Memory Used
Free Physical Memory

TotalVirtualMemorySize
FreeVirtualMemory
TotalVisibleMemorySize
FreePhysicalMemory
AvailableMBytes
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "9" <Version>
Page Details:
Deposited Pages
Virtual TLB Pages
Total Remote Physical Page
Total Physical Pages Allocated
Pages Per Second

DepositedPages
VirtualTLBPages
RemotePhysicalPages
PhysicalPagesAllocated
PagesPersec
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "9" <Version>



Network Tab:


Network Traffic Stats:
Network Adapter Name
Speed
Input Traffic
Output Traffic

Name
CurrentBandwidth
BytesReceivedPersec
BytesSentPersec
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "2" <Version>
Network Packets Stats:
Network Adapter Name
Offloaded Connections
Outbound Packets Discarded
Outbound Packets Errors
Packets Sent Per Second

Packets Received Per Second


Name
OffloadedConnections
PacketsOutboundDiscarded
PacketsOutboundErrors
(PacketsSentUnicastPersec
+PacketsSentNonUnicastPersec)
(PacketsReceivedUnicastPersec
+PacketsReceivedNonUnicastPersec)
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "2" <Version>



Storage Tab:


Disk IO Details:
Name
Current Disk Queue Length
Disk Bytes Per Second
Disk Transfers Per Second
Average Disk Queue Length
Disk Details:
Name
CurrentDiskQueueLength
DiskBytesPersec
DiskTransfersPersec
AvgDiskQueueLength
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "3" <Version>
Disk Partition Usage:
Name
Free Space(MB)
Used Space(MB)
Disk Space Details:
Name
FreeSpace
Size
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "3" <Version>



Virtual Storage Tab:


Virtual Storage Stats:
Name
Error count
Flush count
Read count
Write count
Read Bytes Per Second
Write Bytes Per Second
VirtualStorageDevice:
Name
ErrorCount
FlushCount
ReadCount
WriteCount
ReadBytesPersec
WriteBytesPersec
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "4" <Version>
Virtual IDE Controller Details:
Name
Read Bytes Per Second
Read Sectors Per Second
Write Bytes Per Second
Written Sectors Per Second
Virtual IDE Controller Details:
Name
ReadBytesPersec
ReadSectorsPersec
WriteBytesPersec
WrittenSectorsPersec
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "4" <Version>



Virtual Network Tab:


Virtual Network Adapter Details:
Network Interface Name
Bytes/Sec
Packets/Sec
VirtualNetworkAdapterDetails:
Name
BytesPersec
PacketsPersec
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "5" <Version>
Legacy Virtual Network Adapter Details:
Legacy Network Interface Name
Bytes Received Per Second
Bytes Sent Per Second
Bytes Dropped
Legacy Virtual NetworkAdapter Details:
Name
BytesReceivedPersec
BytesSentPersec
BytesDropped
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "5" <Version>
Virtual Switch Details:
Switch Name
Bytes Per Second
Packets Per Second
Virtual Switch Details:
Name
BytesPersec
PacketsPersec
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "5" <Version>



Hardware Tab:


Power:
Name
Voltage
Status
Power:
Name
DesignVoltage
Status
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "6" <Version>

Fan:
Name
Status
Fan:
Name
Status
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "6" <Version>

Temperature:
Name
Status
Temperature:
Description
Status
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "6" <Version>

Processor:
Processor Name
Clock Speed
Voltage
Number Of Cores
Number Of Logical Processors
Status
Socket Designation
Processor:
Name
CurrentClockSpeed
CurrentVoltage
NumberOfCores
NumberOfLogicalProcessors
Status
SocketDesignation
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "6" <Version>
Memory:
Tag
Capacity
Speed
Voltage
Memory:
Memory Device Name
Capacity
Speed
ConfiguredVoltage
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "6" <Version>
Disk:
Disk Name
Capacity
Status 
Disk:
Model
Size
Status
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "6" <Version>



Configuration Tab:
Hardware Manufacturer
CPU Model
CPU Capacity
CPU Manufacturer
CPU Caption

Manufacturer
CPUName
MaxClockSpeed
CPUManufacturer
CPUCaption
cscript HyperVHostDC.vbs <HostName> <UserName> <Password> "9" <Version>

Note:
  1. For Memory Tab values will be calculated as follows,
    1. Swap Memory Utilization = (((TotalVirtualMemorySize-FreeVirtualMemory)/TotalVirtualMemorySize)*100)
    2. Swap Memory Used = ((TotalVirtualMemorySize-FreeVirtualMemory)/1024)
    3. Physical Memory Utilization = (((TotalVisibleMemorySize-FreePhysicalMemory)/TotalVisibleMemorySize)*100)
    4. Physical Memory Used = ((TotalVisibleMemorySize-FreePhysicalMemory)/1024)
  2. For Network and Virtual Storage Tab, only the raw value will be obtained from WMI Class which will be formatted using respected formula and shown in UI. 
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 Monitor from Applications Manager with print all logs enabled for analysis.

                  New to ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • 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: Navigate to ...
                      • First Step to do if no data is available for a KVM Host Monitor

                        In KVM all the data has been collected via CLI Commands. So if any of data is not retrieved properly in the UI, we can check it by executing CLI Commands. The below table contails the List of CLI Commands used for each metrics present under the KVM ...
                      • Troubleshooting Hyper-V-Cluster data collection

                        In Hyper-V clusters, the data is collected via WMI. So if any of data is not retrieved properly in the UI, you can check and troubleshoot by executing the VBScript. 1) Go to Applications Manager's installed directory and navigate to the path ...
                      • APM Insight monitor is UP, but monitor page doesn't show any data

                        Possible Causes The APM Insight monitor status corresponds to the respective agent folder pointed Java Application status i.e., as long as the Application server is running, the monitor status will be UP. 1. No Transactions Recorded: It is possible ...
                      • How to get an IP Address for Hyper-V Linux VM in APM?

                        Hyper-V Integration Service: Hyper-V Integration Services enhance virtual machine performance and provide convenience features by leveraging two-way communication with the Hyper-V host. How to Install the Linux Integration Service in Hyper-V Linux ...