Archived community.zenoss.org | full text search
Skip navigation
Currently Being Moderated

63.3 Enable Monitoring

VERSION 3  Click to view document history
Created on: Oct 11, 2011 6:15 PM by Zenoss API - Last Modified:  Oct 11, 2011 6:29 PM by Zenoss API

 3. Enable Monitoring

To create a WebTx data source:

  1. From the data sources area, click (Add Data Source).

  2. In the Create Data Source dialog, enter the name of the new data source, and then select the data source type WebTx.

  3. Click Submit.

  4. Select the data source to edit it. Enter information or make selections to specify how and when this data source's Web transactions are performed, and which data should be collected:

     

    Table 63.2. WebTx Data Source Options

    OptionDescription

    Name

    Displays the name of the data source that you specified in the Create Data Source dialog. This name is used in thresholds and graph definitions to refer to the data collected by this data source.

    Source Type

    Set to WebTx, indicating that this is a synthetic Web transaction data source. You cannot edit this selection.

    Enabled

    Set to True (the default) to collect information from this data source. You may want to set this value to False to disable data sources when developing the data source, or when making changes to the Web application being tested.

    Component

    Any time the Web transaction fails,  Resource Manager generates an event. Use this field to set the Component field of the generated event.

    Event Class

    Select the event class of the event generated by this data source. Normally, this is set to /Status/Web (according to the value set on the data source).

    Timeout

    Specify the number of seconds that zenwebtx will attempt to execute this data source's commands before it generates an error event.

    Cycle Time

    Specify the number of seconds that zenwebtx will wait between the start of one test run and the start of the next.

    User Agent

    Specify the text that zenwebtx will present to target Web sites to identify itself.


  5. Click Save to save the specified settings.

  6. Select Script. From here, you will specify the details of the transaction. Information here also helps you debug twill commands when setting up the data source.

    Enter information or make selections:

     

    Table 63.3. WebTx Script Settings

    OptionDescription

    Initial URL

    Specify the URL of the page where the transaction will start. This field frequently contains a TALES expression to refer to a device's ID or IP address, such as http://${dev/id} or http://${dev/manageIp}.

    For more information on TALES expressions, refer to the Appendix in the Administratrion Guide titled TALES Expressions.

    Initial User

    Specify the user name for authentication.

    Initial Password

    Specify the user password for authentication.

    Initial Authentication Realm

    Specify the basic HTTP authentication realm.

    TestDevice

    Use this field to test and debug twill commands. Enter the ID of a device, and then click Test Twill Commands to execute the twill commands against the device. If you do not specify a device, then  Resource Manager will select a device for you.

    Upload Recording

    Upload a Web session recording generated by the Firefox TestGen4Web add-on. Enter or browse to the recording location.

    If you specify a file here, and then click Save,  Resource Manager translates the file to twill commands and replaces the contents of the Twill Commands field with the newly translated commands.

    Twill Commands

    Specify the number of seconds that zenwebtx will wait between the start of one test run and the start of the next.

    Enter twill commands that  Resource Manager will execute to produce values and events for the data source.

    If you select this action, then the current contents of the Twill Commands field is completely replaced.  Resource Manager does not save the replaced information.

    See the Section 4, “Creating twill Commands” section for more information about twill commands.


    Note

    If you provide values for Initial User, Initial Password, and Initial Authentication Realm,  Resource Manager will use these credentials before accessing the URL specified for Initial URL. All three (Initial User, Initial Password, and Initial Authentication Realm) must be present; otherwise, the values are ignored.

  7. Click Save to save the data source.

Comments (0)