|
Configuration of
WebSiteTrafficTest
The WebSiteTrafficTest extract important metrics pertaining to the traffic to and from each of the web sites on web servers executing on Windows environments (for example, IIS/IIS SSL web servers). The default parameters associated with this test are as follows:
-
The TEST PERIOD list box helps the
user to decide how often this test needs to be executed.
- In the HOST
text box, the host name of the component for which the test is to be
configured has to be specified.
-
This test reads the log files on the monitored IIS/IIS SSL web servers to extract important metrics pertaining to the web site usage. Therefore, in the LOGFILEPATH text box, specify the full path to the directory on the IIS/IIS SSL web server to which log files are written. These log files are created only if logging is explicity enabled on the monitored IIS/IIS SSL web server. To enable logging, do the following:
- On the web server host, open the Internet Information Services (IIS) Manager using the following sequence of steps: Start -> Settings -> Control Panel -> Administrative Tools -> Internet Information Services (IIS) Manager.
- In the tree-structure in the left pane of the IIS Manager that opens, expand the node representing the local host, and then, the Web Sites node within; the complete list of web sites configured on the web server will appear here.
- To enable logging for a particular web site, select that web-site from under the Web Sites node, right-click on it, and then, select the Properties option from the shortcut menu.
- In the Web Site tab of the Properties dialog box that appears, ensure that the Enable Logging check box is selected. Also, make sure that W3C Extented Log File Format is chosen as the Active log format.
- Next, click on the Properties button adjacent to the Active log format chosen. The General settings of the W3C Extented Log File Format will then appear. In the Log file directory text box here, specify the directory to which the log file should be written; by default, C:\Windows\system32\LogFiles is displayed in the Log file directory text box. You can change the directory, if need be. However, just ensure that the directory specification here is also copied to the LOGFILEPATH parameter of this test.
- Click on the Advanced tab in Logging Properties dialog box to indicate the type of statistics to be logged into the log file. In the Advanced tab, ensure that the Win32 Status, Bytes Sent, and Bytes Received check boxes are selected.
- Finally, click the Apply and OK buttons to register the changes.
- Repeat this procedure for every web site to be monitored.
When changing the
configuration for specific components, a “*” beside the text box
corresponding to the parameter signifies that these values have to be
manually configured by the user. The parameter values that require to
be configured will typically be prefixed with a “$” or contain a
series of “*”. A value of "none"
in the parameter value indicates that the corresponding parameter
value can be changed if required.
|