The synthetic monitoring feature of Application Real-Time Monitoring Service (ARMS) allows you to create synthetic monitoring tasks such as browse tasks and network tasks. If you want to use the synthetic monitoring feature to monitor your application, you must create a synthetic monitoring task first.

Background information

The synthetic monitoring feature uses the globally distributed monitoring networks to view and perform network synthetic monitoring on web applications such as websites and servers.

Procedure

  1. Log on to the ARMS console.
  2. In the left-side navigation pane, click Cloud Dial Test. On the Scheduled dial test page, click Create a scheduled task in the upper-right corner.
  3. In the Basic Information step, set the Task Name, Task Address, and Task Type parameters and click Next.
    Parameter Description
    Task Name The name of the synthetic monitoring task.
    Task Address The URL of the web application on which you want to perform synthetic monitoring.
    Task Type The type of synthetic monitoring task.
    • To create a browse task, set the Task Type parameter to Browse - IE Full Elements or Browse - Chrome Full Elements (HTTP 1.1/2.0).
    • To create a network task, set the Task Type parameter to Network.
  4. In the Monitoring Points step, perform the following operations:
    1. Set the Adding Method parameter to Recommended Monitoring Point Group or Custom.
    2. Select one or more monitoring point groups in the list on the left and click the Rightwards arrow icon.
      The monitoring points in the selected monitoring point groups are added to the Added list on the right. You can add up to 50 monitoring points for a task. If you add more than 50 monitoring points, only the first 50 monitoring points are valid.
    3. Click Next.
  5. In the Monitoring Parameters step, set the parameters and click Next.

    The monitoring parameters of a browse task are different from those of a network task.

    Table 1. Monitoring parameters for a browse task
    Parameter Description
    IP Address Type The type of the IP address. Valid values:
    • Automatic
    • IPv4
    • IPv6
    Associated Items The monitoring settings of the task. Valid values:
    • Disable Caching: specifies whether cached resources can be loaded when a page is loaded.
    • Return Elements: specifies whether to return the elements on the page.
    • Redirection: specifies whether to continue browsing after a redirection occurs.
    • Disable Compression: uses the Accept-Encoding field to determine whether to accept compressed files.
    • Automatic Scrolling: specifies whether to automatically scroll up and down the screen to load a page.
    • Ignore Certificate Errors: specifies whether to ignore certificate errors during certificate verification in the SSL handshake and continue browsing.
    • Filter Out Invalid IP Address: specifies whether to filter out the invalid IP address, which is 127.0.0.1.
    QUIC Version The QUIC version.
    QUIC Request Element Domain The domain name of the QUIC request element.
    Advanced settings
    Return Request Header The type of the request header to return. Valid values:
    • Return Basic Document: The HTML request header of the page is returned.
    • Return All Elements: All element resources of the page are returned.
    • None
    Return Response Header The type of the response header to return. Valid values:
    • Return Basic Document: The HTML response header of the page is returned.
    • Return All Elements: All element resources of the page are returned.
    • None
    Environment ID The version of the framework. You can select one or more framework versions.

    When the selected monitoring points do not conform to the selected framework versions, an error is reported. Valid values:

    • Framework 2.0
    • Framework 3.0
    • Framework 3.5
    • Framework 4.0
    • Framework 4.5
    Custom Host The custom host mode. Valid values:
    • Round Robin
    • Random

    In custom host mode, multiple IP addresses can be added. Separate multiple IP addresses with commas (,). Example: ipv4:192.168.2.1,192.168.2.5:img.a.com|192.168.2.1[8080]:img.a.com.

    Note If a colon (:) is used, a URL before the colon (:) is automatically resolved.
    Custom Header Specifies whether to add or modify some field values in the request header. Valid values:
    • Modify First Packet: modifies the header of the first request packet in the browse task.
    • Modify All Packets: modifies the headers of all packets.
    • Off: does not modify the headers of packets.
    Custom Host Format: You can add multiple fields. Separate multiple fields with vertical bars (|). Example: Host:www.example.com|Referer:www.example.com.
    Element Blacklist The elements not to be loaded in the page loading process.
    Element Whitelist The elements to be loaded in the page loading process. The elements in the element whitelist must be included in the element blacklist.
    Process ID The name of the process contained in the task manager on the host that runs tasks. If a process whose name is not contained in the task manager, an error is reported.
    First Screen ID The URL or mark of the first page. If this feature is enabled and the URL or mark that you specified is loaded in the page loading process, the first page is loaded.
    Verification String Blacklist The blacklist of strings for verification. If the source code returned by the client contains one of the specified strings, an error is returned. Separate multiple strings with vertical bars (|).
    Verification String Whitelist The whitelist of strings for verification. If the source code returned by the client does not contain all specified strings, an error is returned. Separate multiple strings with vertical bars (|).
    Monitoring Timeout The timeout period for monitoring, in seconds. Default value: 40. After an onload event occurs, ARMS periodically checks the status of the browser. If the browser is busy, ARMS continues to wait. If the browser remains busy till the timeout period is reached, the task is stopped and data is reclaimed. If the browser is idle, ARMS stops checking the status of the browser.
    Waiting Period The period that ARMS waits to check the status of the browser. The default waiting period is 3.8 seconds. ARMS checks the status of the browser at intervals of the specified period.
    Table 2. Monitoring parameters for a network task
    Category Parameter Description
    IP Address Type N/A The type of the IP address. Valid values:
    • Automatic
    • IPv4
    • IPv6
    Filter Out Invalid IP Address N/A Specifies whether to filter out the invalid IP address, which is 127.0.0.1.
    DNS Monitoring Monitoring Timeout The timeout period for monitoring, in seconds. Default value: 5. A timeout event is returned when the specified timeout period is reached.
    Query Mode The query method. Valid values:
    • Recursion: queries the records on the common Domain Name System (DNS) servers.
    • Iteration: queries the records on the authoritative DNS servers.
    NS Server The DNS server that you specify for data query.
    DIG Specifies whether to display the data in the DIG format.
    DNS Server Type The type of the DNS server. Valid values:
    • Automatic
    • IPv4
    • IPv6
    Tracert Monitoring Monitoring Timeout The timeout period for monitoring, in seconds. Default value: 60. If the specified timeout period is reached, the server is inaccessible and the task is terminated.
    Maximum Hops The maximum number of hops allowed in route tracing. Default value: 20. If the number of hops exceeds the maximum value, the server is inaccessible.
    Ping Monitoring Protocol type The type of the protocol. Valid values:
    • ICMP
    • TCP
    Monitoring Timeout The timeout period for monitoring, in seconds. Default value: 20. If the specified timeout period is reached, the ping operation fails.
    Execution Interval The intervals at which ping packets are sent. The next ping packet is sent at the specified intervals after the ping response is received for the previous packet.
    Packages The number of packets. Default value: 4.
    Split Package Specifies whether to split the ping packet. After you select the check box, you can customize the number and size of packets.
    Package Size The size of packets.
  6. In the Monitoring Cycle step, set the parameters and click Next.
    Parameter Description
    Monitoring Frequency The intervals at which the synthetic monitoring task runs.
    Advanced Settings
    Start Execution Time The time to start running the synthetic monitoring task. This parameter is valid only when the synthetic monitoring task runs at long intervals. The value of this parameter cannot be greater than the value of the Monitoring Frequency parameter.
    Evenly Distribute Monitoring Samples Offset = Number of minutes in a cycle/Number of carriers. The earliest delivery time of each carrier is the value of the Start Execution Time parameter plus the offset.
  7. In the Alert Parameter step, perform the following operations:
    1. Select the alert type and turn on the switch on the right.
    2. Configure the alert rule. For example, you want to receive notifications of alerts that are related to the loading time of the first page in a browser. In this case, you can specify that if the first page requires more than 1 second to be loaded, an alert is triggered.
    3. Select a notification policy from the Notification policy drop-down list.
    4. Click Next.
  8. In the Preview & Publish step, confirm the parameters and click Complete.
    Then, the Scheduled dial test page appears.

Supported operations

On the Scheduled dial test page, you can view the name, type, URL, number of monitoring points, creation time, availability, and status of a synthetic monitoring task. On the Scheduled dial test page, you can also perform the following operations to manage a synthetic monitoring task:

  • To go to the Task Overview page of a task, click the name of the task.
  • To view the alert history of a task, click Alert History on the right of the task.
  • To modify a task, click Edit on the right of the task.
  • To enable a task, click Enable on the right of the task.
  • To disable a task, click Disable on the right of the task.
  • To delete a task, click Delete on the right of the task.