Skip Headers
Oracle® Traffic Director Administrator's Guide
11g Release 1 (11.1.1.7.0)

Part Number E21036-04
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

13.3 Configuring URI Access to Statistics Reports

As described in Section 13.1, "Methods for Monitoring Oracle Traffic Director Instances," in addition to viewing activity statistics by using the CLI, you can view the following reports through a URI.

Relative Advantages of URI-Based and CLI Access to Statistics Reports

Note:

To prevent unauthorized browser access to the stats-xml and perfdump URIs, you can make browser access available on only the local host through the loop-back address.

To do this, create a virtual server (see Section 8.1) with 127.0.0.1 as the IP address of the listener and then enable URI access to the stats-xml and perfdump reports for only this specific virtual server, as described in the rest of this section.

You can use the browser on the local host to access the reports by using the loop-back address as shown in the following examples:

http://127.0.0.1:listener_port/.perf
http://127.0.0.1:listener_port/stats-xml

You can configure URI-based reporting of statistics by using either the administration console or the CLI.

Configuring URI Access to Statistics Using the Administration Console

To configure URI-based reporting by using the administration console, do the following:

  1. Log in to the administration console, as described in Section 2.3.2, "Accessing the Administration Console."

  2. Click the Configurations button that is situated at the upper left corner of the page.

    A list of the available configurations is displayed.

  3. Select the configuration for which you want to configure URI-based reports.

  4. In the navigation pane, expand Virtual Servers, and select the virtual server for which you want to configure URI-based reports.

    The Virtual Server Settings page is displayed.

  5. Go to the Monitoring section of the page.

    • To enable URI-based reporting in XML format, select the XML Report check box and specify a valid URI.

    • To enable URI-based reporting in plain-text format, select the Plain Text Report check box and specify a valid URI for the report.

    On-screen help and prompts are provided for all of the parameters.

    When you change the value in a field or tab out of a text field that you changed, the Save button near the upper right corner of the page is enabled.

    At any time, you can discard the changes by clicking the Reset button.

  6. After making the required changes, click Save.

    • A message, confirming that the updated configuration was saved, is displayed in the Console Messages pane.

    • In addition, the Deployment Pending message is displayed at the top of the main pane. You can either deploy the updated configuration immediately by clicking Deploy Changes, or you can do so later after making further changes as described in Section 4.3, "Deploying a Configuration."

Configuring URI Access to Statistics in XML Format Using the CLI

Note:

The CLI examples in this section are shown in shell mode (tadm>). For information about invoking the CLI shell, see Section 2.3.1, "Accessing the Command-Line Interface."

For the updated configuration to take effect, you should deploy it to the Oracle Traffic Director instances by using the deploy-config command.

Configuring URI Access to Statistics in Plain-Text Format Using the CLI

For the updated configuration to take effect, you should deploy it to the Oracle Traffic Director instances by using the deploy-config command.

For more information about the CLI commands mentioned in this section, see the Oracle Traffic Director Command-Line Reference or run the commands with the --help option.