Skip navigation
Currently Being Moderated

65.3 Enable Monitoring

VERSION 3  Click to view document history
Created on: Oct 12, 2010 6:09 PM by Zenoss API - Last Modified:  Oct 12, 2010 6:21 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 65.2. WebTx Data Source Options



    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.


    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.


    Any time the Web transaction fails, Zenoss 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).


    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 65.3. WebTx Script Settings


    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.


    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 Zenoss 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, Zenoss 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 Zenoss 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. Zenoss does not save the replaced information.

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


    If you provide values for Initial User, Initial Password, and Initial Authentication Realm, Zenoss 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)