Configuring synthetic monitoring


Monitor the availability and performance of your applications by using PATROL for Synthetic Monitoring. For details about what attributes are collected in monitoring, see Monitor-types-and-attributes.

Before you begin

Important


If you use Selenium

If you use Playwright

Make sure that the computer where PATROL Agent is installed has the following software installed:

  • Python 3.x
  • Python Selenium package
  • Compatible Chrome browser and ChromeDriver.

Make sure that the computer where PATROL Agent is installed has the following software installed:

  • Python 3.8 or higher
  • Python Playwright package
  • The required browsers are installed by using the following command:
    playwright install

To configure synthetic monitoring

  1. Perform one of the following actions:
    • In BMC Helix Operations Management, click Configuration > Monitoring Policies > Create Policy.
    • In TrueSight Operations Management, click Configuration > Infrastructure Policies > Create Policy.
  2. Click Add Monitoring Configuration.
  3. To configure the KM, set the following preferences in the Add Monitoring Configuration dialog box:

    Monitoring Solution

    Monitor Profile

    Monitor Type

    Synthetic Monitoring

    Synthetic Monitoring

    Synthetic Monitoring

  4. In the Synthetic Monitoring Configuration > Application Configuration section, click Add.
  5. The following options are displayed:

    Field

    Description

    Application name and Description

    Enter a name to identify the configuration and enter an optional description.

    Script Execution Plan

    Script Execution Plan Name and Description

    Enter the name of the plan that will execute to monitor transactions and an optional description. An execution plan is a set of configurations where you specify script details you created to monitor.

    Script path

    Enter the path of the script file on the PATROL Agent server.

    Important
    • If you use the Selenium-exported script, modify the exported script to use in PATROL for Synthetic Monitoring. For more information, see Modifying-recorded-script-exported-from-Selenium-IDE.
    • If you use the Playwright codegen-recorded script, make sure that you select the target as Python > Library or Python > Library Async in the Playwright Inspector. 

    Schedule Interval

    Enter the time interval (in minutes) after which the script should be run.

    Script Variables

    Secret Variable List

    Click Add and enter the name and value of the secret variable. Use secret variables when you want to secure the value of a variable. 

    Script Variable List

    Click Add and enter the name and value of the script variable. 

    Disable Execution Plan

    Select the check box to stop monitoring.

    URL Checker Execution Plan

    URL Checker Execution plan name and description

    Enter the name of the plan that will execute to monitor transactions and an optional description. An execution plan is a set of configurations where you specify URL checker details you created to monitor.

    Verify if the title is

    Enter the name of a title to be monitored.

    Verify if the content contains

    Enter the content to be monitored.

    Schedule Interval (in Minutes)

    Enter the time interval  (in minutes) after which the script should be run.

    Timeout Period (in Minutes)

    Enter the time in a number of minutes until the session timeout. 

    Disable Execution Plan

    Select the check box to stop monitoring.

    Basic/Digest authentication

    User Name

    Enter the user name required to authenticate access to the protected URL. This credential identifies the user and allows the user to monitor secure resources.

    Password

    Enter the password that corresponds to the user name. 

    Global Script Variables

    Global Secret Variable List

    Click Add and enter the name and value of the secret variable. Use secret variables when you want to secure the value of a variable.

    These variables can be used in all the application configurations that you add.

    Global Script Variable List

    Click Add and enter the name and value of the script variable. These variables can be used in all the application configurations that you add.

    Administration

    Java home

    Specify the full path of the JRE directory on the PATROL Agent server.

    Python home

    Specify the full path of the Python directory on the PATROL Agent server.

    Enable logging

    Select the check box to enable KM debugging. Log files are created in the <PATROL_HOME>/stm/log directory on the PATROL Agent server.

    For example:
    PATROL Agent name-<PATROL_AGENT_PORT>-STM-synthetic.log

  6. Click OK.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*