|
|
Installing VisualResponse
VisualResponse is installed as a simple two step process: Running VisualResponse
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Expression Variable | Description | Methods Supported |
| ms | Milliseconds | >, <, =, and, or |
| cc | Country Code | >, <, =, and, or |
| url | URL selection (support * wild card) | >, <, =, and, or |
| ip | IP address support CIDR | <,>,=, and, or |
| sc | success code (1 or 0) | >,<,=, and, or |
Country Status
The Country Status report summarizes the transactions by country showing the minimum (Min), average (Avg), and maximum (Max) latency for all transactions in the group (see fig 8.4 below). The table below figure 8.4 provides detailed field descriptions.

Fig 8.4
The table below shows the data elements reported for the status report options.
| Min Latency (ms) | The minimum response time in milliseconds |
| Avg. Latency (ms) | The average response time in milliseconds |
| Max Latency (ms) | The maximum response time in milliseconds |
| Std Deviation (ms) | The standard deviation in milliseconds |
| Count (Red) | A count of all the transactions that have exceeded the critical threshold defined |
| Count (Yellow) | A count of all the transactions that have exceeded the warning threshold defined |
| Count (Green) | A count of all the transactions that have not exceeded the critical or warning threshold defined. |
| Total | The total number of transactions from this country |
| IP Count | The number of unique IP addresses (i.e. users) |
The filter option is provided at the bottom of the Country Status report to allow a filter to be applied to the report view.
Critical Response
Critical Response shows a report of all URLs that have exceed the critical threshold.
Fig 8.5
You can also use the filter expression to tailor the filtered report. For example if you want to view all times that are greater than 40 seconds you would type ms>40000 into the expression dialog box. Other expressions that can be used are explained in table 8.3 above.
Warning Response
This table is exactly the same as the Critical warning layout except it only shows users that have exceeded the warning response time you have set in Preferences.
URL Status
The URL Status report is similar to the Country Status report except the report is summarized by each URL being monitored by country (see fig 8.6 below).

Fig 8.6
URL Status shows the data collected in the last 5 minutes from each web page (URL) you are monitoring. If one of your pages has not been hit in the last five minutes, then it will not show up in the table. Note: the code 'vus-' and 'vuk-' are defined in the script syntax for the URL, this allows the full web page URL to be abbreviated for the reports.
Clicking on the URL link will display a graph (see fig 8.7 below) of the URL measures over time.
Fig 8.7
By default, host graphs display live data, allowing you to monitor latency information in real time. However, you may optionally choose to plot historical data. Facilities are then provided to allow you to specify a time span and summary interval which VisualResponse uses to retrieve and display this information. These facilities include:
Time Span - Indicates time span to be reported in an historical plot. If 'Custom' is selected, this window is defined by the 'Begin' and 'End' fields.
Begin - The time span starting point. Modify by using arrow keys or right/left mouse clicks.
End - The time span ending point. Modify by using arrow keys or right/left mouse clicks.
Interval - The summarization interval used for historical data.
Plot live data - Indicates whether or not to plot live data, rather than historical data.
Fit data to plot - Causes historical data to display such that the requested time span fills the entire plot window.
OK - Requests a new plot, using the criteria described above.
On all tables of data throughout the VisualResponse Web Interface, 'hot links' are provided that allow you to view live or historic data as a graph.
History Reports 

Fig 9.1
Under the heading Reports you get the following links: Trace Report, Trace Routes, Last Hour, Last 24 Hours, Last 30 days and Custom.
Trace Report History Report
The Trace Report lists all the traces conducted by VisualResponse when critical or warning conditions have occurred. This report displays the last hop time for the trace. Note the color coding is not the same as the warning and critical thresholds of the Status and History reports. The Trace Report is color coded based on the user preferences for Trace Reports.
Fig 9.2
Whenever a threshold is broken, VisualResponse will automatically run a trace and those traces are logged in 'Trace Report.' It tells you the exact time the trace was done and where the user was accessing the page from. The trace is done from the IP address web server to the destination IP address. If you click on one of the 'Trace Date/Time' links, the trace detail is displayed (see fig.9.3 below).

Fig 9.3
Trace Routes History Report
The Trace Routes report shows all the hops from the web server to the destination. This reports the latency and the packet loss for each hop along with the network node name. The Trace Routes report also provides a 'previous/next' trace button to allow the user to scroll to the next trace in the log file. Alternatively a date/time stamp can be defined using the 'Show' button.
Last Hour History Report
Fig 9.4
Figure 9.4 shows the Last Hour report. This report provides country name, green, yellow and red counts, the average latency for each country and the IP count for that country summarized for the last hour. If any of the thresholds you have set have been exceeded, the report section is color coded. If the number of thresholds is over the set % defined in the user preferences, it will highlight that section. The Hour detail report (see fig 9.5 below) summarizes the hour in 5 minute intervals.

Fig 9.5
Last 24 Hours History Report
The Last 24 Hours report is the same as the Last Hour report, but covers 24 hours and the summarization is by hour.
Last 30 Days History Report
The Last 30 Days report is the same as the Last 24 Hours report, but covers the last 30 days and the summarization is by day.
Custom History Report
The Custom History report allows the user to select the time period, the countries to report on, and the granulation for the summarization. This is done using the custom filter dialog (see fig 9.6 below).
Fig 9.6
For example, the report shown below reports latency for the United Kingdom (GB) on October 10, from 00:00:00 to 00:30:00, summarized by 5 minutes
Fig 9.7
Tools Section 
The 'Tools' selection will only appear if you have configured a VisualRoute Server in the User Preferences dialog (see fig 5.6 above).

Fig 10.1
The VisualRoute Server Option will allow you to conduct real-time trace route reports directly from a VisualResponse report where applicable. This allows the user to examine the quality of a user connection immediately when required (see fig 10.2 below).

Fig 10.2
The export data screen below (fig 10.3) allows you to export data from any country(ies) and over any time frame.

Fig 10.3
Running VisualResponse as a Windows Service 
To run VisualResponse as a Windows service, follow these steps:
-
1. Install and Configure VisualResponse as described above (to verify that VisualResponse is working properly before turning VisualResponse into a service (also see note below)).
2. In DOS, navigate to the VisualResponse install directory and then type:
VisualResponse -install3. Run the Services Manager (Control Panel) and start the "VisualResponse" Service.
NOTE: VisualResponse stores configuration files in the user home directory. When running as a Windows service VisualResponse will not find the configuration files that were defined when running under a user log-on. To configure VisualResponse when running as a Windows service it is advisable to select the "Interact with desktop" option in the Windows services control panel to the configuration can be set. Alternatively if you know which directory the Windows service will use you can copy the folder <install user home>dsc/vres to the system home location.
To remove the VisualResponse service, in DOS navigate to the VisualResponse install directory and then type:VisualResponse -uninstall
Configure HTTP and HTTPS Web Page(s) to be monitored by VisualResponse 
Note: if you should experience any difficulty implementing the web page script changes please complete a Support Request Form. We would be more than pleased to help you in anyway that we can.
Simply adding a small piece of JavaScript to any web page will start VisualResponse monitoring that page anywhere in the world that it is sent. You have to enter the small java script (about 180 bytes, see example below) directly into the Web pages you want VisualResponse to monitor.
The script example below can be copied exactly as shown but will need two small changes made.
1. For your VisualResponse IP address (or domain name) and
2. To add a unique name for the web page.
This script is then inserted between the <html> and <head> tags in the web page. If <script> tags are already present in the page then simply insert the script (in blue lines) between the existing <script> tags.
| <html>
<script> <head> |
Fig 12.1
Amending the Script for Your Needs
The script above requires two small changes for each specific Web page being monitored (marked in red below) depending on your requirements. These changes are detailed below.
| Parameter | Syntax | Description |
| Destination IP/URL | http://n.n.n.n:xx | Destination IP address of the VisualResponse Server n.n.n.n=IP address xx= optional port |
| URL identifier | &x=<id string> | As URLs can be lengthy the ID string is used as an alias to identify the web pages in the reporting system. It also allows two pages with the same dame (e.g. index.html) on different servers to be uniquely tracked. |
| var d=1; var s=new Date(); function il() { if (d) { d=0;(new Image()).src='http://161.58.180.114/vvv?r='+((new Date()).getTime()-window.s.getTime() +'&s=1&d='+ (new Date()).getTime()+'&x=sd1'); }} |
||
The steps are as follows:
1. Replace the example IP address 161.58.180.114 with the IP address of where VisualResponse is installed, if VisualResponse is not using port 80 then add the port number (e.g., port 90 would be http://212.1.155.223 :90).
2. Replace the example Web page alias string &x=sd1 with the alias to identify the Web page. Example: &x=logon.
3. After you have amended and inserted the script, you need to add the onload instruction to invoke it. Syntax onload=il().Where you place the onload instruction defines what is going to be measured. This can be the entire web page or a component such as a gif on the web page. If you want you can measure more than one item on the page by adding more than one onload instruction.
To measure the entire page (if you are not using frames), place the onload instruction immediately after the page <body> tag. Example:
<body topmargin="0" changes to <body onload=il() topmargin="0"
If you are using frames in the web page you need to insert the onload syntax in the frameset to measure all frames. In order to measure a specific frame you must insert the onload syntax in the specific frame definition HTML. Example
<frameset rows="112,100%" changes to <frameset onload=il() rows="112,100%" or
<frame src="feedback.htm" changes to <frame onload=il() src="feedback.htm"
4. Once the changes are complete, save the web page back to the web server. Monitoring will start immediately the page is hit as long as the VisualResponse application is running on the specified IP address defined in the script.
Click here for additional HTTPS support modifications.
Additional Variables
Warning and Critical thresholds can also be set within a specific Web page by using the '&c' and '&w' variables as shown in the table below.
| Parameter | Syntax | Description |
| Warning Threshold | &w=n | n equals the warning response time threshold in milliseconds e.g. &w=20000 sets a 20 second alert threshold |
| Critical Threshold | &c=n | same as above except critical threshold. e.g. &c=40000 sets a 40 second alert threshold |
As an example, this Web page has been configured to measure the response time of the page as well as the aborted time if you decide to cancel the page. In addition, the download time of a specific GIF in the page is measured. This extension just adds a few extra bytes to the script. If you click your browser's 'View' menu and select 'Source' you will be able to see the inserted code for this page.
Two scripts are provided with VisualResponse to support HTTPS. VisualResponse.cgi and VisualResponse.asp can be found in the VisualResponse root install directory. The CGI script is provided for Web servers that support Perl for example Apache. The ASP script is provided for Microsoft IIS environments (Active Server Pages). Note: the Microsoft ASP script requires that the IIS server supports the Microsoft XML plugin. This can be downloaded from here.
To implement HTTPS support requires two changes to the HTTP implementation
1. The IP address and URL reference in the web page JavaScript is changed to point to the about-to-be-installed HTTPS script (step 2 below).
2. The relevant HTTPS script (found in the VisualResponse root install directory) is changed to reflect the original IP address and URL prior to the change in step 1 from step 1(VisualResponse server IP address and URL) and copied to the directory on the HTTPS server as indicated in step 1 change.
For example the JavaScript line used in the HTTP example above (fig 12.1)
| d=0;(new Image()).src='http://161.58.180.114/vvv?r='+((new Date()).getTime()-window.s.getTime() +'&s=1&d='+ (new Date()).getTime()+'&x=sd1'); is changed to |
In the two example lines above instead of pointing to the VisualResponse URL (http://161.58.180.114/vvv......) the changed script line now points to a directory on an HTTPS server referencing the relevant script by name (https://161.58.180.113/script-bin/VisualResponse.asp....) [marked in red]
An example of the provided ASP script changed to point to the VisualResponse server is shown in the table below.
|
<%
dim srvr
dim objXmlHttp
dim url
dim rslt
srvr="http://195.167.164.14/vvv"
url=srvr&"?"&Request.QueryString&"&i="&Request.ServerVariables("REMOTE_ADDR")&"&f="&Request.ServerVariables("HTTP_REFERER")
set objXmlHttp=Server.CreateObject ("Microsoft.XMLHTTP")
objXmlHttp.Open "GET", url, False
objXmlHttp.Send
rslt=objXmlHttp.responseText
Response.Write ("Content-type: text/html\n\n")
%>
<%
dim srvr
dim objXmlHttp
dim url
dim rslt
srvr="http://195.167.164.14/vvv"
url=srvr&"?"&Request.QueryString&"&i="&Request.ServerVariables("REMOTE_ADDR")&"&f="&Request.ServerVariables("HTTP_REFERER")
set objXmlHttp=Server.CreateObject ("Microsoft.XMLHTTP")
objXmlHttp.Open "GET", url, False
objXmlHttp.Send
rslt=objXmlHttp.responseText
Response.Write ("Content-type: text/html\n\n")
%>
<%@ Language=VBScript %> <%option explicit%> <HTML> <HEAD> <meta http-equiv="Content-Language" content="en-gb"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> </HEAD> <BODY> <% dim srvr dim objXmlHttp dim url dim rslt srvr="http://161.58.180.114/vvv" url=srvr&"?"&Request.QueryString&"&i="&Request.ServerVariables ("REMOTE_ADDR")&"&f= "&Request.ServerVariables("HTTP_REFERER") set objXmlHttp=Server.CreateObject ("Microsoft.XMLHTTP") objXmlHttp.Open "GET", url, False objXmlHttp.Send rslt=objXmlHttp.responseText Response.Write ("Content-type: text/html\n\n") %> </BODY> </HTML> |
Also as a live demonstration click here to review a sample report for pages like this and others for the last 60 minutes.














