To create a WebTx
data source:
From the data sources area, select Add DataSource from the table menu.
In the Create Data Source dialog, enter the name of the new data source, and then select the data source type WebTx
.
Click OK.
The Data Source tab appears.
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 49.2. WebTx Data Source Options
Option | Description |
---|---|
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 |
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, 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). |
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. |
Click Save to save the specified settings.
Click the Script tab. 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 49.3. WebTx Script Settings
Option | Description |
---|---|
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 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 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.
Click Save to save the data source.