Configuring synthetic monitoring
Monitor the performance and metrics of your synthetic environment. For details about what attributes are collected in monitoring, see Monitor-types-and-attributes.
Before you begin
Ensure that the computer where PATROL Agent is installed has the following software installed:
- Python 3.x
- Python Selenium package
- Selenium requires a driver to interface with the browser. Ensure that your Google Chrome browser has a compatible chromedriver.exe file installed on your computer. Download this file from ChromeDriver.
To configure synthetic monitoring
- 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.
- Click Add Monitoring Configuration.
- From the Monitoring Solution list, select Synthetic Monitoring.
- From the Monitor Profile and Monitor Type lists, ensure that Synthetic Monitoring is selected.
In the Synthetic Monitoring Configuration > Application Configuration section, click Add.
You get the following options on the Application Configuration page:Field
Description
Application name and Description
Enter a name to identify the configuration and an optional description.
Script Execution Plan
Script Execution Plan Name and Description
Enter a 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 that you have created to monitor.
Script path
Enter the path of the script file on the PATROL Agent server.
Schedule Interval
Enter the time interval (minutes) to run the script.
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 a 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 that you have created to monitor.
Verify if the title is
Enter a name of the title to be monitored.
Verify if the content contains
Enter the content to be monitored.
Schedule Interval (in Minutes)
Enter the time interval (minutes) to run the script.
Timeout Period (in Minutes)
Enter the time in number of minutes until the session timeout.
Disable Execution Plan
Select the check box to stop monitoring.
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
- Click OK.