In this quick walkthrough we're going show you how to access several network focused script actions on both sessions and virtual machines.
Overview
Section 1: Connect to all monitored resources.
Section 2: Focus on the ControlUp-Demo-Targets.
Section 3: Click on the "Sessions" Object then run several network focused script actions.
Before you Begin
In order to complete this product walkthrough please make sure you have the following:
A valid account in the VMware TestDrive environment, sign up here if you do not have one.
TCP & UDP ports 80, 443, 8443; and if using PCoIP, both TCP & UDP 4172
Latest Horizon Client installed, available via direct download here.
A ControlUp user account on TestDrive. See this article for info on how to access ControlUp on TestDrive and create an account.
SECTION 1: Connect to all monitored resources.
Right Click on the TestDrive-vmwtd.com folder in the left pane, then select "Connect" in the context menu to connect to all the monitored resources.
Section 2: Focus on the ControlUp-Demo-Targets folder.
In the left pane, right click on the upper most folder that is titled "ControlUp-Demo-Targets" and select "Focus" in the context menu.
Section 3: Click on the "Sessions" Object then run several network focused script actions.
In the central dashboard grid view, click on the "Sessions" object to view user sessions in the Horizon environment.
Under the Home menu option, click on the dropdown box on the far right labeled "Column Preset". This dropdown box allows you to select from a variety of dashboard column presets that are specific to the selected object (in this case Sessions). Select the option labeled "UX Score TD".
You can reorder, rearrange or change the metric values in any dashboard column preset. You can also sort AND\OR group by any metric. Read this Knowledgebase article to learn more about Column Presets.
Click and drag the scroll bar at the bottom of the screen to the left until the "Latency Last" metric is next to the User column.
Next, Click the three white bars next to the "Bandwidth Last" metric on the first session in the dashboard. When the Virtual Expert appears, click on the "Analyze VMware Blast Session" script action.
This script action works with both virtual desktop and RDS based Blast sessions. The script action provides the following info -
Total Received Bytes
Total Transmitted Bytes
Estimated Bandwidth
Frames per second
Round trip time
Samples
Click the "X" in the top right of the window to close this window.
The next Script Action to run is "Show Top Network Sources by Traffic Volume (session)".
Here is a description of this Script Action -
Capture and analyze network traffic received for all processes in the specified sessions in a specified time period, showing the IP addresses and DNS names of the remote systems, the port used, the amount of data received in the capture period and the processes involved. Arguments: Capture Time - the number of seconds to run a network capture for (default 15 seconds) Show top - show only the top n sources (default is 10)
Next, Click the three white bars next to the "Network Received KB/s" metric on the first session in the dashboard. When the Virtual Expert appears, click on the "Show Top Network Sources by Traffic Volume (session)" script action.
The next window that opens is the command line arguments window. Just click "OK".
This script action shows the top 10 network sources for the session. The columns include the following:
Source IP Address
Source DNS Name
Source Port
Total Received (KB)
Process Name(s)
A slightly modified version of this Script Action is also available for both virtual machines and individual processes. The virtual machine version can be invoked when viewing the "Machines" dashboards and the process version can be invoked when viewing the "Process" dashboards. Click the "X" in the top right of the window to close this window.
Next, Click the three white bars next to the "Network Received KB/s" metric on the first session in the dashboard. When the Virtual Expert appears, click on the "Show Network Connections Established in Session" script action.
Here is a description of this Script Action -
Shows established network connections for all processes in a selected user session sorted on the most connections by processing netstat -ano output. Arguments: Show Top - Show the top n connections (default 1000) Resolve IP to Name - Show DNS names rather than IP addresses (default false) Resolve IP via RIPE - Use internet registrar API to resolve non-DNS resolvable names (default false)
In the command line argument window that appears, click "OK".
You may need to use the scroll bar on the right to scroll to the top to see the full output. This Script Action shows you the network connections by process. The following columns are displayed -
โ
Process Name
Destination Address
Port
Count
You can also see "Connections in Other States".
A slightly modified version of this Script Action is also available for both virtual machines and individual processes. The virtual machine version can be invoked when viewing the "Machines" dashboards and the process version can be invoked when viewing the "Process" dashboards. Click the "X" in the top right of the window to close this window.