Agents Administration - Tests
 

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.
  • The port number to which the web server is listening to has to be mentioned in the PORT text box.

  • 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:

    1. 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.
    2. 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.
    3. 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.
    4. 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.
    5. 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.
    6. 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.
    7. Finally, click the Apply and OK buttons to register the changes.
    8. Repeat this procedure for every web site to be monitored.
  • If multiple components of the same component type are awaiting configuration, then an APPLY TO OTHER COMPONENTS check box will appear in this page. Clicking on this check box will allow you to apply the configuration to all/selected components of that type.

  • Once the necessary values have been provided, clicking on the UPDATE button will register the changes made.

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.